decord/source/__polyfill/08xxx/module_8044.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

46 lines
1,015 B
JavaScript

// Module ID: 8044
// Function ID: 8045
// Dependencies: []
// Exports: getModalRouteKeys
// Module 8044
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;
}, []);
};