📚 Documentação inicial do ALETHEIA

- MANUAL-PRODUTO.md: Manual do usuário final
- MANUAL-VENDAS.md: Estratégia comercial e vendas
- MANUAL-TECNICO.md: Infraestrutura e deploy
- README.md: Visão geral do projeto
This commit is contained in:
2026-02-10 15:08:15 -03:00
commit 20a26affaa
16617 changed files with 3202171 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "normalizedAssetPrefix", {
enumerable: true,
get: function() {
return normalizedAssetPrefix;
}
});
function normalizedAssetPrefix(assetPrefix) {
// remove all leading slashes and trailing slashes
const escapedAssetPrefix = (assetPrefix == null ? void 0 : assetPrefix.replace(/^\/+|\/+$/g, "")) || false;
// if an assetPrefix was '/', we return empty string
// because it could be an unnecessary trailing slash
if (!escapedAssetPrefix) {
return "";
}
if (URL.canParse(escapedAssetPrefix)) {
const url = new URL(escapedAssetPrefix).toString();
return url.endsWith("/") ? url.slice(0, -1) : url;
}
// assuming assetPrefix here is a pathname-style,
// restore the leading slash
return "/" + escapedAssetPrefix;
}
//# sourceMappingURL=normalized-asset-prefix.js.map