<commit_before>/*
Details Element Polyfill 1.1.0
Copyright © 2017 <NAME>
 */
(function(){}).call(this),function(){var t,e,n,r,o,u,i,a,l,c;a={element:function(){var t,e,n,r,o;return e=document.createElement("details"),"open"in e?(e.innerHTML="<summary>a</summary>b",e.setAttribute("style","position: absolute; left: -9999px"),r=null!=(o=document.body)?o:document.documentElement,r.appendChild(e),t=e.offsetHeight,e.open=!0,n=e.offsetHeight,r.removeChild(e),t!==n):!1}(),toggleEvent:function(){var t;return t=document.createElement("details"),"ontoggle"in t}()},a.element&&a.toggleEvent||(o=function(){return document.head.insertAdjacentHTML("afterbegin",'<style>@charset"UTF-8";details:not([open])>*:not(summary){display:none;}details>summary{display:block;}details>summary::before{content:"\u25ba";padding-right:0.3rem;font-size:0.6rem;cursor:default;}details[open]>summary::before{content:"\u25bc";}</style>')},r=function(){var t,e,n,r,o;return t=document.createElement("details").constructor.prototype,r=t.setAttribute,n=t.removeAttribute,o=null!=(e=Object.getOwnPropertyDescriptor(t,"open"))?e.set:void 0,Object.defineProperties(t,{open:{set:function(t){return"DETAILS"===this.tagName?(t?this.setAttribute("open",""):this.removeAttribute("open"),t):null!=o?o.call(this,t):void 0}},setAttribute:{value:function(t,e){return c(this,function(n){return function(){return r.call(n,t,e)}}(this))}},removeAttribute:{value:function(t){return c(this,function(e){return function(){return n.call(e,t)}}(this))}}})},u=function(){return n(function(t){return t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})},i=function(){var t;return"undefined"!=typeof MutationObserver&&null!==MutationObserver?(t=new MutationObserver(function(t){var e,n,r,o,u,i;for(u=[],n=0,r=t.length;r>n;n++)o=t[n],i=o.target,e=o.attributeName,"DETAILS"===i.tagName&&"open"===e?u.push(l(i)):u.push(void 0);return u}),t.observe(document.documentElement,{attributes:!0,subtree:!0})):n(function(t){var e;return e=t.getAttribute("open"),setTimeout(function(){return t.getAttribute("open")!==e?l(t):void 0},1)})},t=function(t){return!(t.defaultPrevented||t.which>1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey||t.target.isContentEditable)},n=function(n){return addEventListener("click",function(r){var o,u;return t(r)&&(o=e(r.target,"SUMMARY"))&&"DETAILS"===(null!=(u=o.parentElement)?u.tagName:void 0)?n(o.parentElement):void 0},!1)},e=function(){return"function"==typeof Element.prototype.closest?function(t,e){return t.closest(e)}:function(t,e){for(;t;){if(t.tagName===e)return t;t=t.parentElement}}}(),l=function(t){var e;return e=document.createEvent("Events"),e.initEvent("toggle",!0,!1),t.dispatchEvent(e)},c=function(t,e){var n,r;return n=t.getAttribute("open"),r=e(),t.getAttribute("open")!==n&&l(t),r},a.element||(o(),r(),u()),a.element&&!a.toggleEvent&&i())}.call(this),function(){}.call(this);<commit_msg>Rebuild<commit_after>/*
Details Element Polyfill 1.1.0
Copyright © 2017 <NAME>
 */
(function(){}).call(this),function(){var t,e,n,r,u,o,i,a,s,l,c,d,f;c={element:function(){var t,e,n,r,u;return e=document.createElement("details"),"open"in e?(e.innerHTML="<summary>a</summary>b",e.setAttribute("style","position: absolute; left: -9999px"),r=null!=(u=document.body)?u:document.documentElement,r.appendChild(e),t=e.offsetHeight,e.open=!0,n=e.offsetHeight,r.removeChild(e),t!==n):!1}(),toggleEvent:function(){var t;return t=document.createElement("details"),"ontoggle"in t}()},c.element&&c.toggleEvent||(a=function(){return document.head.insertAdjacentHTML("afterbegin",'<style>@charset"UTF-8";details:not([open])>*:not(summary){display:none;}details>summary{display:block;}details>summary::before{content:"\u25ba";padding-right:0.3rem;font-size:0.6rem;cursor:default;}details[open]>summary::before{content:"\u25bc";}</style>')},i=function(){var t,e,n,r,u;return t=document.createElement("details").constructor.prototype,r=t.setAttribute,n=t.removeAttribute,u=null!=(e=Object.getOwnPropertyDescriptor(t,"open"))?e.set:void 0,Object.defineProperties(t,{open:{set:function(t){return"DETAILS"===this.tagName?(t?this.setAttribute("open",""):this.removeAttribute("open"),t):null!=u?u.call(this,t):void 0}},setAttribute:{value:function(t,e){return f(this,function(n){return function(){return r.call(n,t,e)}}(this))}},removeAttribute:{value:function(t){return f(this,function(e){return function(){return n.call(e,t)}}(this))}}})},s=function(){return u(function(t){var e;return e=t.querySelector("summary"),t.hasAttribute("open")?(t.removeAttribute("open"),e.setAttribute("aria-expanded",!1)):(t.setAttribute("open",""),e.setAttribute("aria-expanded",!0))})},o=function(){var e;return"undefined"!=typeof MutationObserver&&null!==MutationObserver?(e=new MutationObserver(function(e){var n,r,u,o,i,a;for(o=[],r=0,u=e.length;u>r;r++)n=e[r].addedNodes,o.push(function(){var e,r,u;for(u=[],e=0,r=n.length;r>e;e++)a=n[e],"DETAILS"===a.tagName?(i=a.querySelector("summary"),i?u.push(t(i)):u.push(void 0)):u.push(void 0);return u}());return o}),e.observe(document.documentElement,{attributes:!0,subtree:!0,childList:!0})):document.addEventListener("DOMNodeInserted",function(e){return"SUMMARY"===e.target.tagName?t(e.target):void 0})},t=function(t){return t.setAttribute("tabindex","0"),t.setAttribute("aria-expanded","false"),t.setAttribute("role","button")},l=function(){var t;return"undefined"!=typeof MutationObserver&&null!==MutationObserver?(t=new MutationObserver(function(t){var e,n,r,u,o,i;for(o=[],n=0,r=t.length;r>n;n++)u=t[n],i=u.target,e=u.attributeName,"DETAILS"===i.tagName&&"open"===e?o.push(d(i)):o.push(void 0);return o}),t.observe(document.documentElement,{attributes:!0,subtree:!0})):u(function(t){var e;return e=t.getAttribute("open"),setTimeout(function(){return t.getAttribute("open")!==e?d(t):void 0},1)})},e=function(t){return!(t.defaultPrevented||t.which>1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey||t.target.isContentEditable)},r=function(t){return!(t.defaultPrevented||32!==t.keyCode&&13!==t.keyCode||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey||t.target.isContentEditable)},u=function(t){return addEventListener("click",function(r){var u,o;return e(r)&&(u=n(r.target,"SUMMARY"))&&"DETAILS"===(null!=(o=u.parentElement)?o.tagName:void 0)?t(u.parentElement):void 0},!1),addEventListener("keydown",function(e){var u,o;return r(e)&&(u=n(e.target,"SUMMARY"))&&"DETAILS"===(null!=(o=u.parentElement)?o.tagName:void 0)?(t(u.parentElement),e.preventDefault()):void 0},!1)},n=function(){return"function"==typeof Element.prototype.closest?function(t,e){return t.closest(e)}:function(t,e){for(;t;){if(t.tagName===e)return t;t=t.parentElement}}}(),d=function(t){var e;return e=document.createEvent("Events"),e.initEvent("toggle",!0,!1),t.dispatchEvent(e)},f=function(t,e){var n,r;return n=t.getAttribute("open"),r=e(),t.getAttribute("open")!==n&&d(t),r},c.element||(a(),i(),s(),o()),c.element&&!c.toggleEvent&&l())}.call(this),function(){}.call(this);
{'fraction_non_alphanumeric': 0.2618396430113718, 'fraction_numerical': 0.012955232474449402, 'mean_word_length': 19.740298507462686, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 27, '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': '341612', 'n_tokens_mistral': 2632, 'n_tokens_neox': 2604, 'n_words': 125}