(seq)
| 176 | } |
| 177 | |
| 178 | function hideEditorLoading(seq) { |
| 179 | if (!editorLoadingEl) return; |
| 180 | if (editorLoadingEl.dataset.seq !== String(seq)) return; |
| 181 | editorLoadingEl.remove(); |
| 182 | editorLoadingEl = null; |
| 183 | } |
| 184 | |
| 185 | // Folder encryption check (used to bypass ONLYOFFICE in encrypted folders) |
| 186 | const __folderEncryptedCache = new Map(); // folder -> Promise<bool> |