decord/source/8519_getModalRouteKeys.js
2026-08-07 06:50:47 +00:00

45 lines
1,017 B
JavaScript

// Module ID: 8519
// Function ID: 8520
// Name: getModalRouteKeys
// Dependencies: []
// Module 8519 (getModalRouteKeys)
arg5.getModalRouteKeys = (arr) => {
let closure_0 = arg1;
return arr.reduce((arr, key) => {
let options;
if (table[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;
}, []);
};