<commit_before>command: 'echo ""',
refreshFrequency: 10000,

style: [
	"left: 25%",
	"top: 0",

	"width: 23%",
	"height: 50vh",

	"text-align: center",

	".details",
	"	padding-top: 0.5rem",

	".time",
	"	font-weight: 200",
	"	font-size: 2em",
	"	color: rgba(255, 255, 255, 0.65)",
	"	padding-bottom: 0.5rem",

	".workers",
	"	font-weight: 500",
	"	font-size: 1.25em",
	"	color: rgba(255, 255, 255, 0.75)",

	".wrapper",
	"	color: inherit",
	"	text-decoration: none",
	"	cursor: pointer",
].join('\n'),

render: function(output) {
	return [
		'<a class="wrapper" href="https://whentowork.com/cgi-bin/w2w.dll/login">',
			'<div class="details"></div>',
			'<h1 class="title">Next Up @Helpdesk</h1>',
		'</a>',
	].join('');
},

update: function(output, domEl) {
	if (!window.sto)             return '';
	if (!window.sto.libs.lodash) return '';
	if (!window.sto.libs.moment) return '';
	if (!window.sto.data.shifts) return '';

	var _      = window.sto.libs.lodash;
	var moment = window.sto.libs.moment;
	var shifts = window.sto.data.shifts;

	var details = domEl.querySelector('.details');
	details.innerHTML = "";

	if (shifts.length === 0) {
		details.textContent = "No more shifts scheduled as of " + moment().format('ha[.]');
		return "";
	}<commit_msg>Update styles in next-up-at-helpdesk<commit_after>command: 'echo ""',
refreshFrequency: 10000,

style: [
	"left: 25%",
	"top: 0",

	"width: 23%",
	"height: 50vh",

	"text-align: center",

	".details",
	"	padding-top: 0.5rem",

	"time",
	"	font-weight: 200",
	"	font-size: 1.5em",
	"	color: rgba(255, 255, 255, 0.65)",
	"	padding-bottom: 0.25rem",

	"div .title",
	"	margin-bottom: 0em",
	"	padding-bottom: 0em",
	"	font-family: Fira Sans",
	"	font-weight: 600",

	".workers",
	"	font-weight: 400",
	"	font-size: 1.5em",
	"	color: rgba(255, 255, 255, 0.75)",

	".wrapper",
	"	color: inherit",
	"	text-decoration: none",
	"	cursor: pointer",
	"	padding-top: 2em",
].join('\n'),

render: function(output) {
	return [
		'<a class="wrapper" href="https://whentowork.com/cgi-bin/w2w.dll/login">',
			'<div class="details"></div>',
			'<h1 class="title">Next Up @Helpdesk</h1>',
		'</a>',
	].join('');
},

update: function(output, domEl) {
	if (!window.sto)             return '';
	if (!window.sto.libs.lodash) return '';
	if (!window.sto.libs.moment) return '';
	if (!window.sto.data.shifts) return '';

	var _      = window.sto.libs.lodash;
	var moment = window.sto.libs.moment;
	var shifts = window.sto.data.shifts;

	var details = domEl.querySelector('.details');
	details.innerHTML = "";

	if (shifts.length === 0) {
		details.textContent = "No more shifts scheduled as of " + moment().format('ha[.]');
		return "";
	}
{'fraction_non_alphanumeric': 0.22388618494945714, 'fraction_numerical': 0.0430550355672033, 'mean_word_length': 3.6550522648083623, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '947284', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1046, 'n_words': 218}