upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
function isExternal(path) {
const isExternal2 = /^(https?:|http?:|mailto:|tel:)/.test(path);
return isExternal2;
}
function formatGrowthRate(growthRate) {
if (growthRate === 0) {
return "-";
}
const formattedRate = Math.abs(growthRate * 100).toFixed(2).replace(/\.?0+$/, "");
return formattedRate + "%";
}
export {
formatGrowthRate as f,
isExternal as i
};