REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.97 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/src/Agent/lib/media-views.js
Text
Base64
const CUSTOM_CSS_ELEMENT_ID = 'media-views-important'; const processRules = (rules) => { const result = []; [...rules].forEach((rule) => { switch (rule.type) { case CSSRule.STYLE_RULE: result.push(addImportant(rule)); break; case CSSRule.MEDIA_RULE: result.push(`@media ${rule.conditionText} {`); processRules(rule.cssRules, result); result.push('}'); break; default: result.push(rule.cssText); break; } }); return result; }; const addImportant = (rule) => { const declarations = [...rule.style].map( (prop) => `${prop}: ${rule.style.getPropertyValue(prop)} !important`, ); return `${rule.selectorText} { ${declarations.join('; ')}; }`; }; const getCustomMediaViewsCss = () => { const link = document.getElementById('media-views-css'); if (!link) return null; const processedRules = processRules(link.sheet?.cssRules); if (!processedRules?.length) return null; const css = processedRules.join('\n'); const additionalCSS = ` div:has(> .media-modal) {z-index: 999999 !important} .media-frame { h1, h2, h3, h4, h5, h6 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important; color: #1d2327 !important; } .uploader-inline-content { color: #1d2327 !important; } .media-sidebar { color: #646970 !important; } .media-search-input-label, .load-more-count { color: #3c434a !important; } } `; return `${additionalCSS} ${css}`; }; export const addCustomMediaViewsCss = () => { if (document.getElementById(CUSTOM_CSS_ELEMENT_ID)) return; const css = getCustomMediaViewsCss(); if (!css) return; const style = document.createElement('style'); style.id = CUSTOM_CSS_ELEMENT_ID; style.textContent = css; document.head.appendChild(style); }; export const removeCustomMediaViewsCss = () => { const style = document.getElementById(CUSTOM_CSS_ELEMENT_ID); if (style) style.remove(); };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__tests__
DIR
-
drwxr-xr-x
2026-04-28 02:40:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
blocks.js
3.01 KB
lrw-r--r--
2026-03-19 23:35:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
confetti.js
1.46 KB
lrw-r--r--
2026-03-19 23:35:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
editor.js
746 B
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
markdown.js
670 B
lrw-r--r--
2026-02-27 04:48:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
media-views.js
1.97 KB
lrw-r--r--
2026-02-27 04:48:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
media.js
1.48 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
page-tours.js
723 B
lrw-r--r--
2025-09-25 20:59:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
redirects.js
640 B
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
svg-blocks-scanner.js
2.07 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
svg-helpers.js
4.91 KB
lrw-r--r--
2026-02-19 03:27:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tour-helpers.js
461 B
lrw-r--r--
2025-08-27 17:47:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
util.js
537 B
lrw-r--r--
2026-04-27 23:36:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
variant-classes.js
4.72 KB
lrw-r--r--
2025-12-17 19:09:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wp.js
420 B
lrw-r--r--
2026-02-27 04:48:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).