decord/stable/source/lib/native/Linking.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

30 lines
720 B
TypeScript

// Module ID: 4255
// Function ID: 4256
// Name: Linking
// Dependencies: [17, 4250, 2]
// Module 4255 (Linking)
import _mod17 from "module_17" /* 17 */;
import handleURL from "handleURL" /* 4250 */;
import size from "module_2" /* 2 */;
const Linking = _mod17.Linking;
const result = size.fileFinishedImporting("lib/native/Linking.tsx");
export default {
openURL(arg0, arg1) {
let flag = arg2;
if (arg2 === undefined) {
flag = true;
}
handleURL.default(arg0, arg1, { allowExternal: flag });
},
openURLExternally(href, SAFARI) {
handleURL.default(href, SAFARI, { forceExternalBrowser: true });
},
performURLNavigation(href) {
Linking.openURL(href).catch(() => {
});
}
};