decord/source/__polyfill/08xxx/module_8029.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

46 lines
1,015 B
JavaScript

// Module ID: 8029
// Function ID: 8030
// Dependencies: []
// Exports: getModalRouteKeys
// Module 8029
export const getModalRouteKeys = (arr, arg1) => {
closure_0 = arg1;
return arr.reduce((arr, key) => {
let options;
if (closure_0[key.key] != null) {
options = tmp.options;
}
if (options == null) {
options = {};
}
const presentation = options.presentation;
let tmp2 = arr.length && !presentation;
if (!tmp2) {
tmp2 = "modal" === presentation;
}
if (!tmp2) {
tmp2 = "transparentModal" === presentation;
}
if (!tmp2) {
tmp2 = "containedModal" === presentation;
}
if (!tmp2) {
tmp2 = "containedTransparentModal" === presentation;
}
if (!tmp2) {
tmp2 = "fullScreenModal" === presentation;
}
if (!tmp2) {
tmp2 = "formSheet" === presentation;
}
if (!tmp2) {
tmp2 = "pageSheet" === presentation;
}
if (tmp2) {
arr.push(key.key);
}
return arr;
}, []);
};