swc/crates/swc_ecma_minifier/tests/mangle/1/output.js
David Sherret 064bcf4854
fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2023-06-07 05:08:35 +00:00

34 lines
725 B
JavaScript

"use strict";
var t = (this && this.__importDefault) || function(t) {
return t && t.__esModule ? t : {
default: t
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
const e = t(require("./config.json"));
function n({ config: t = e.default } = {}) {
function n(e) {
const n = t[e] || null;
if (!n) {
return false;
}
const { available: r, availableBy: u } = n;
if (!u) {
return r;
}
return Date.now() >= u && r;
}
function r(e) {
const n = t[e] || null;
return n;
}
return {
longlong10: r,
longlong2: n,
longlong100: t
};
}
exports.default = n;