File manager - Edit - /home/opticamezl/www/newok/com_contenthistory.zip
Back
PK #Q�\��hM M joomla.asset.jsonnu �[��� { "$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json", "name": "com_contenthistory", "version": "4.0.0", "description": "Joomla CMS", "license": "GPL-2.0-or-later", "assets": [ { "name": "com_contenthistory.admin-compare-compare", "type": "script", "uri": "com_contenthistory/admin-compare-compare.min.js", "dependencies": [ "com_contenthistory.admin-compare-compare.es5" ], "attributes": { "type": "module" }, "version": "3a3f9134be7be982cf3705dd39b50dd47083cc06" }, { "name": "com_contenthistory.admin-history-modal.es5", "type": "script", "uri": "com_contenthistory/admin-history-modal-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "ada35a629abc49d2c980899d78d42c5786f49ab4" }, { "name": "com_contenthistory.admin-history-modal", "type": "script", "uri": "com_contenthistory/admin-history-modal.min.js", "dependencies": [ "com_contenthistory.admin-history-modal.es5" ], "attributes": { "type": "module" }, "version": "38c9a776abe63c1569786e8a4e2e6db0ec9d5ef6" }, { "name": "com_contenthistory.admin-history-versions.es5", "type": "script", "uri": "com_contenthistory/admin-history-versions-es5.min.js", "dependencies": [ "core" ], "attributes": { "nomodule": true, "defer": true }, "version": "1f92d08e5eaf196fb3c0fb9cb1ce4943208f5353" }, { "name": "com_contenthistory.admin-history-versions", "type": "script", "uri": "com_contenthistory/admin-history-versions.min.js", "dependencies": [ "com_contenthistory.admin-history-versions.es5" ], "attributes": { "type": "module" }, "version": "973d531805b2bf1a57af65fc7c2b00d3669b73f0" }, { "name": "com_contenthistory.admin-compare-compare.es5", "type": "script", "uri": "com_contenthistory/admin-compare-compare-es5.min.js", "dependencies": [ "core", "diff" ], "attributes": { "nomodule": true, "defer": true }, "version": "1a023ac8995be80c56310f6fc2c5872dc5e13a76" } ] }PK #Q�\�V� index.htmlnu &1i� <!DOCTYPE html><title></title> PK #Q�\��,� � # js/admin-compare-compare-es5.min.jsnu �[��� (function(){"use strict";/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(function(){var i=function(n){var e=document.createElement("textarea");return e.innerHTML=Joomla.sanitizeHtml(n),e.value},c=function(n,e){var m=e.nextElementSibling,u=window.Diff.diffWords(n.innerHTML,e.innerHTML),d=document.createDocumentFragment();u.forEach(function(a){var r="";a.added&&(r="#a6f3a6"),a.removed&&(r="#f8cbcb");var t=document.createElement("span");t.style.backgroundColor=r,t.style.borderRadius=".2rem",t.appendChild(document.createTextNode(i(a.value))),d.appendChild(t)}),m.appendChild(d)},l=function o(){var n=[].slice.call(document.querySelectorAll(".original"));n.forEach(function(e){c(e,e.nextElementSibling)}),document.removeEventListener("DOMContentLoaded",o)};document.addEventListener("DOMContentLoaded",l)})()})(); PK #Q�\�p^ ^ js/admin-compare-compare-es5.jsnu �[��� (function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (function () { // This method is used to decode HTML entities var decodeHtml = function decodeHtml(html) { var textarea = document.createElement('textarea'); textarea.innerHTML = Joomla.sanitizeHtml(html); return textarea.value; }; var compare = function compare(original, changed) { var display = changed.nextElementSibling; var diff = window.Diff.diffWords(original.innerHTML, changed.innerHTML); var fragment = document.createDocumentFragment(); diff.forEach(function (part) { var color = ''; if (part.added) { color = '#a6f3a6'; } if (part.removed) { color = '#f8cbcb'; } // @todo use the tag MARK here not SPAN var span = document.createElement('span'); span.style.backgroundColor = color; span.style.borderRadius = '.2rem'; span.appendChild(document.createTextNode(decodeHtml(part.value))); fragment.appendChild(span); }); display.appendChild(fragment); }; var onBoot = function onBoot() { var diffs = [].slice.call(document.querySelectorAll('.original')); diffs.forEach(function (fragment) { compare(fragment, fragment.nextElementSibling); }); // Cleanup document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(); })(); PK #Q�\�p 8G G ! js/admin-history-modal-es5.min.jsnu �[��� (function(){"use strict";/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(function(e,r){if(!r||typeof r.Text._!="function")throw new Error("core.js was not properly initialised");e.addEventListener("DOMContentLoaded",function(){e.getElementById("toolbar-load").addEventListener("click",function(){var i=e.getElementById("toolbar-load");if(!i.disabled){var n=e.querySelectorAll('input[id*="cb"]:checked');if(n.length===1){var t=i.childNodes[1].getAttribute("data-url")+"&version_id="+n[0].value;window.parent&&t&&(window.parent.location=t)}else r.renderMessages({error:[r.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION")]})}return!1}),e.getElementById("toolbar-preview").addEventListener("click",function(){var i=e.getElementById("toolbar-preview");if(!i.disabled){var n=["width=800, height=600, resizable=yes, scrollbars=yes"],t=e.querySelectorAll('input[id*="cb"]:checked');if(t.length===1){var a=i.childNodes[1].getAttribute("data-url")+"&version_id="+t[0].value;window.parent&&a&&window.open(a,"",n.toString())}else r.renderMessages({error:[r.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION")]})}return!1}),e.getElementById("toolbar-compare").addEventListener("click",function(){var i=e.getElementById("toolbar-compare");if(!i.disabled){var n=["width=1000, height=600, resizable=yes, scrollbars=yes"],t=e.querySelectorAll('input[id*="cb"]:checked');if(t.length===0)r.renderMessages({error:[r.Text._("JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST")]});else if(t.length===2){var a=i.childNodes[1].getAttribute("data-url")+"&id1="+t[0].value+"&id2="+t[1].value;window.parent&&a&&window.open(a,"",n.toString())}else r.renderMessages({error:[r.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS")]})}return!1})})})(document,Joomla)})(); PK #Q�\����E E $ js/admin-history-versions-es5.min.jsnu �[��� (function(){"use strict";/** * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */window.addEventListener("DOMContentLoaded",function(){var n=document.getElementById("versionsModal");n&&document.body.appendChild(n)})})(); PK #Q�\��SW W js/admin-compare-compare.min.jsnu �[��� /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */(()=>{const i=n=>{const e=document.createElement("textarea");return e.innerHTML=Joomla.sanitizeHtml(n),e.value},l=(n,e)=>{const r=e.nextElementSibling,s=window.Diff.diffWords(n.innerHTML,e.innerHTML),a=document.createDocumentFragment();s.forEach(o=>{let d="";o.added&&(d="#a6f3a6"),o.removed&&(d="#f8cbcb");const t=document.createElement("span");t.style.backgroundColor=d,t.style.borderRadius=".2rem",t.appendChild(document.createTextNode(i(o.value))),a.appendChild(t)}),r.appendChild(a)},c=()=>{[].slice.call(document.querySelectorAll(".original")).forEach(e=>{l(e,e.nextElementSibling)}),document.removeEventListener("DOMContentLoaded",c)};document.addEventListener("DOMContentLoaded",c)})(); PK #Q�\�0I� � # js/admin-history-versions.min.js.gznu �[��� � =��j�@E��C$ �i}k�R�-���f˺v'���ߋE�v��pnY �j���=w�U9,�`ߓ���Z�B���/�H��rG��|qZq8��T�� 6�#l�S�>�����z�-{X pZ(,!A���ݡV�% �h=�4b}%/��r�e���˭c���<�W�o�> � ���$��[|�������2j��K����tߓǪ�3��e�~V�$ PK #Q�\�;�&e e js/admin-history-versions.jsnu �[��� /** * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ window.addEventListener('DOMContentLoaded', () => { const versionsModal = document.getElementById('versionsModal'); if (versionsModal) { document.body.appendChild(versionsModal); } }); PK #Q�\����� � $ js/admin-history-modal-es5.min.js.gznu �[��� � ŕQo�6���+>���*v�"��9�ָ��"RW�!��͖!��+�^��^�M��]е(V�E:��.�w���� �+�x`�PK⣣~���ٯ��;�� 1LBv<>ey ��A l.� }ĦV��� Q�O��ڶ�_;wiD�p����h �c�=�^�g`�a/��ђ�n�n�v�3��1�f�I�iLo�����!��J_����jp��R\&�vi��eZ�":�t�k�Z�u�jt5��1m5ia����B�t�f�S7t���g�ӜP�x�Q���R�`�t7U'��J����I��{&[�L'_�u�ֱ�^������]$9<Ҷnh�U?�rŗ'r� �G{�k�$I2�`B���F�9~1\v���P���+A�I����y�Y�U���`o�i`�j�\��R�G�^pO�����pB�5c� ��X����u��E�I>�&yV�Yy6-�����eY�YU��tRVy�V���4�x����A{8����������B�jE���`� tX�Sw��?��d>b^�3���2���K�����+z���`q٘\A��:8`�.�Y��;�/ �_�?$�|6=����z1K�EZ����&�i�U����<K�ٴ(�!��������^����^��j����j�v�;�dӵ!z���uR8:x�p 8G PK #Q�\U. &