Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
16 lines
476 B
TypeScript
16 lines
476 B
TypeScript
// Module ID: 4258
|
|
// Function ID: 4259
|
|
// Name: getLocalizedLink
|
|
// Dependencies: [1114, 2]
|
|
// Exports: default
|
|
|
|
// Module 4258 (getLocalizedLink)
|
|
import util from "util" /* 1114 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
|
|
|
|
export default function getLocalizedLink(arg0) {
|
|
const formatted = util.intl.currentLocale.toLowerCase();
|
|
return formatted in arg0 ? arg0[formatted] : arg0.default;
|
|
};
|