{"version":3,"file":"popular.js","sources":["popular.jsx"],"sourcesContent":["\"use strict\";\nconst { h, render, Component } = preact;\n/** @jsx h */\ndocument.body.firstChild.remove();\n\nconst jsonParse = text => {\n const dateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$/;\n function reviver(key, value) {\n if (typeof value === \"string\" && dateFormat.test(value)) {\n return new Date(value);\n }\n return value;\n }\n return JSON.parse(text, reviver);\n};\n\nconst fixupTags = result => {\n if (result.t.length === 1 && result.t[0] === \"\") {\n result.t.shift();\n }\n};\n\nconst FormatDate = ({ date }) => {\n const display = moment.utc(date).fromNow();\n const raw = date.toISOString();\n return ;\n};\n\nconst Tags = ({ children }) => (\n
loading
;\n }\n return (\n