{"size": 417, "ext": "js", "max_stars_repo_path": "resources/src/assets/plugins/formvalidation/dist/es6/utils/classSet.js", "max_stars_repo_name": "djkrazzy/demoblog", "max_stars_repo_stars_event_min_datetime": "2018-01-24T23:44:37.000Z", "max_stars_repo_stars_event_max_datetime": "2018-05-16T10:45:18.000Z", "max_issues_repo_path": "resources/src/assets/plugins/formvalidation/dist/es6/utils/classSet.js", "max_issues_repo_name": "djkrazzy/demoblog", "max_issues_repo_issues_event_min_datetime": "2021-05-31T10:11:27.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-30T12:20:16.000Z", "max_forks_repo_path": "resources/src/assets/plugins/formvalidation/dist/es6/utils/classSet.js", "max_forks_repo_name": "djkrazzy/demoblog", "max_forks_repo_forks_event_min_datetime": "2020-07-12T23:41:23.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-06T01:56:06.000Z"}
{"max_stars_count": 4, "max_issues_count": 23, "max_forks_count": 2, "avg_line_length": 417.0, "max_line_length": 417, "alphanum_fraction": 0.6282973621}
function s(s,a){a.split(" ").forEach(a=>{if(s.classList){s.classList.add(a)}else if(` ${s.className} `.indexOf(` ${a} `)){s.className+=` ${a}`}})}function a(s,a){a.split(" ").forEach(a=>{s.classList?s.classList.remove(a):s.className=s.className.replace(a,"")})}export default function c(c,e){const t=[];const f=[];Object.keys(e).forEach(s=>{if(s){e[s]?t.push(s):f.push(s)}});f.forEach(s=>a(c,s));t.forEach(a=>s(c,a))}