File manager - Edit - /home/opticamezl/www/newok/plg_system_stats.tar
Back
js/stats.js 0000644 00000002432 15172532610 0006657 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 3.5.0 */ (document => { // Selectors used by this script const statsDataTogglerId = 'js-pstats-data-details-toggler'; const statsDataDetailsId = 'js-pstats-data-details'; const resetId = 'js-pstats-reset-uid'; const uniqueIdFieldId = 'jform_params_unique_id'; const onToggle = event => { event.preventDefault(); const element = document.getElementById(statsDataDetailsId); if (element) { element.classList.toggle('d-none'); } }; const onReset = event => { event.preventDefault(); document.getElementById(uniqueIdFieldId).value = ''; Joomla.submitbutton('plugin.apply'); }; const onBoot = () => { // Toggle stats details const toggler = document.getElementById(statsDataTogglerId); if (toggler) { toggler.addEventListener('click', onToggle); } // Reset the unique id const reset = document.getElementById(resetId); if (reset) { reset.addEventListener('click', onReset); } // Cleanup document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(document, Joomla); js/stats-message-es5.min.js 0000644 00000003117 15172532610 0011556 0 ustar 00 (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 * @since 3.5.0 */Joomla=window.Joomla||{},function(r,e){var p={input:["type","name","value"],"joomla-alert":["type","dismiss","role"],button:["type"],table:[],tbody:[],thead:[],caption:[],th:["scope"],tr:[],td:[]},u=function(s){var a=e.getElementById("system-message-container"),n=a.querySelector(".js-pstats-alert"),i=a.querySelector("#js-pstats-data-details");e.addEventListener("click",function(t){t.target.classList.contains("js-pstats-btn-details")&&(t.preventDefault(),i.classList.toggle("d-none"))}),e.addEventListener("click",function(t){t.target.classList.contains("js-pstats-btn-allow-always")&&(t.preventDefault(),n.close(),s({plugin:"sendAlways"}))}),e.addEventListener("click",function(t){t.target.classList.contains("js-pstats-btn-allow-never")&&(t.preventDefault(),n.close(),s({plugin:"sendNever"}))})},v=function c(s){var a=s===void 0?{}:s,n=a.plugin,i=n===void 0?"sendStats":n,t="index.php?option=com_ajax&group=system&plugin="+i+"&format=raw",d=e.getElementById("system-message-container");r.request({url:t,headers:{"Content-Type":"application/json"},onSuccess:function(o){try{var l=JSON.parse(o);l&&l.html&&(d.insertAdjacentHTML("beforeend",r.sanitizeHtml(l.html,p)),d.querySelector(".js-pstats-alert").classList.remove("hidden"),u(c))}catch(g){throw new Error(g)}},onError:function(o){r.renderMessages({error:[o.response]})}})};e.addEventListener("DOMContentLoaded",function(){v()})}(Joomla,document)})(); js/stats-message.min.js 0000644 00000002727 15172532610 0011072 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 3.5.0 */Joomla=window.Joomla||{},((r,e)=>{const i={input:["type","name","value"],"joomla-alert":["type","dismiss","role"],button:["type"],table:[],tbody:[],thead:[],caption:[],th:["scope"],tr:[],td:[]},c=a=>{const o=e.getElementById("system-message-container"),s=o.querySelector(".js-pstats-alert"),n=o.querySelector("#js-pstats-data-details");e.addEventListener("click",t=>{t.target.classList.contains("js-pstats-btn-details")&&(t.preventDefault(),n.classList.toggle("d-none"))}),e.addEventListener("click",t=>{t.target.classList.contains("js-pstats-btn-allow-always")&&(t.preventDefault(),s.close(),a({plugin:"sendAlways"}))}),e.addEventListener("click",t=>{t.target.classList.contains("js-pstats-btn-allow-never")&&(t.preventDefault(),s.close(),a({plugin:"sendNever"}))})},l=({plugin:a="sendStats"}={})=>{const o=`index.php?option=com_ajax&group=system&plugin=${a}&format=raw`,s=e.getElementById("system-message-container");r.request({url:o,headers:{"Content-Type":"application/json"},onSuccess:n=>{try{const t=JSON.parse(n);t&&t.html&&(s.insertAdjacentHTML("beforeend",r.sanitizeHtml(t.html,i)),s.querySelector(".js-pstats-alert").classList.remove("hidden"),c(l))}catch(t){throw new Error(t)}},onError:n=>{r.renderMessages({error:[n.response]})}})};e.addEventListener("DOMContentLoaded",()=>{l()})})(Joomla,document); js/stats-message-es5.js 0000644 00000006006 15172532610 0010774 0 ustar 00 (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 * @since 3.5.0 */ Joomla = window.Joomla || {}; (function (Joomla, document) { var allowed = { input: ['type', 'name', 'value'], 'joomla-alert': ['type', 'dismiss', 'role'], button: ['type'], table: [], tbody: [], thead: [], caption: [], th: ['scope'], tr: [], td: [] }; var initStatsEvents = function initStatsEvents(callback) { var messageContainer = document.getElementById('system-message-container'); var joomlaAlert = messageContainer.querySelector('.js-pstats-alert'); var detailsContainer = messageContainer.querySelector('#js-pstats-data-details'); // Show details about the information being sent document.addEventListener('click', function (event) { if (event.target.classList.contains('js-pstats-btn-details')) { event.preventDefault(); detailsContainer.classList.toggle('d-none'); } }); // Always allow document.addEventListener('click', function (event) { if (event.target.classList.contains('js-pstats-btn-allow-always')) { event.preventDefault(); // Remove message joomlaAlert.close(); callback({ plugin: 'sendAlways' }); } }); // Never allow document.addEventListener('click', function (event) { if (event.target.classList.contains('js-pstats-btn-allow-never')) { event.preventDefault(); // Remove message joomlaAlert.close(); callback({ plugin: 'sendNever' }); } }); }; var getJson = function getJson(_temp) { var _ref = _temp === void 0 ? {} : _temp, _ref$plugin = _ref.plugin, plugin = _ref$plugin === void 0 ? 'sendStats' : _ref$plugin; var url = "index.php?option=com_ajax&group=system&plugin=" + plugin + "&format=raw"; var messageContainer = document.getElementById('system-message-container'); Joomla.request({ url: url, headers: { 'Content-Type': 'application/json' }, onSuccess: function onSuccess(response) { try { var json = JSON.parse(response); if (json && json.html) { messageContainer.insertAdjacentHTML('beforeend', Joomla.sanitizeHtml(json.html, allowed)); messageContainer.querySelector('.js-pstats-alert').classList.remove('hidden'); initStatsEvents(getJson); } } catch (e) { throw new Error(e); } }, onError: function onError(xhr) { Joomla.renderMessages({ error: [xhr.response] }); } }); }; document.addEventListener('DOMContentLoaded', function () { getJson(); }); })(Joomla, document); })(); js/stats.min.js.gz 0000644 00000000642 15172532610 0010061 0 ustar 00 � }�Qk�0���+.zv����0�:���d���9(ҭ�L�<ݫd��'�����ѧs�ƣ� F�M�nm�� �4��O_�C�!E�p��1Rs�%\>2w�u<�n�rB����Q�j� ��=F��gZ9�aqT7��"8�+ DX̧���俼���z��,/�� F��ɓ�T-�TvĊ�4�Ui��uTrh�Q�E�_)"!��Q�Z�Bl�����e�O�e/����.�=_�J���:䡚e�<sآ�ﻹ�B^�pHR;E����-��ȟ���xC3��(����qX�Ҫ��J�g�s��^��s���,���Sy��!Je̬�O�Y&����(��ܱ���M_!b6�����f<�gA4��s���u� :�A�3���CK�A� js/stats-message.min.js.gz 0000644 00000001410 15172532610 0011475 0 ustar 00 � �T�n7}�Wl!�E� R�m���.���0�KT��3kY��\����(�O�̙�37NNOO�)�ɦf��zC��sɞ?��%�n �ej�vi� �b�j�Æ���d����6�:��l� �BD`��7W��7!��~iW�[�8Z�!�O�=g)�`�! [\�ϯ�sM4���v�b�^?;a��wË��G�v�p���Y���:�"�U�c���Ӿ�x4uY�Mh��*~�>62�G��X{D�xN� W-Q�n�U��ͭ�Ur�a���ƚ�|���� G�.y�*�^��|Q�*�k�y�"���p�� �q �f c�"!s��J�cy�� �R\oq� �c$Rſ��yD9Cf쀌���qn~���Kp���+��:�d�H�`D��+����� �d(���δ��T� ��:��nS.e/�'Ą�vcvf��jPې�TFtMh�>N9Bt�n���)�}��WJ��E� ����<���哾�ࣃ�l��Д�M�ofkF�ڦ:���U}ۙ~t�rm��f�A�Wu�,�[@]��4�2�q��� "�ߗ�r�4�[S$M��"�U���Z@�ƒռ?FAջ�nLFQ�h4"��:�F���^�����˅�+�K :��F=�?�-�A��%�:CO*��N� ��;�KeE�����F��h�ӎEرy�)�}�h8��D��6���3`�"�m/�^�;���/�\$�q%J��(� ��T.ٶJ�N>%f� � js/stats-es5.min.js.gz 0000644 00000000671 15172532610 0010555 0 ustar 00 � ��ы1��+�<�Fv�J�tk)��xw����q/6�l��Z��O��J_g�|�fR��Sd�+����)E��F�g�]0�S�7o��S��} �Aa�%̝����v+6V �OG+k�� ����i�[ZY�`q���n���0�a1���g�~��-��^ o�;q3�Ѹ8�A��e�8a�Xu�$�JK��F��Ɗ|�X���$�4�F�*��0a���A�q����p�[vrF �'�����e�T�:S� �if�EG_vs]x^��P ee�I�LW�;d�P�x����^ڄ�ʯ�i�Z%"� ���'d��]џG@��.a#�i8$!��e�̛�Y0e���J{5�9�T�[��_�����w�k^jԬt�P�?�.�=?�B{�2�i���oQ�t\ js/stats-es5.js 0000644 00000002655 15172532610 0007360 0 ustar 00 (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 * @since 3.5.0 */ (function (document) { // Selectors used by this script var statsDataTogglerId = 'js-pstats-data-details-toggler'; var statsDataDetailsId = 'js-pstats-data-details'; var resetId = 'js-pstats-reset-uid'; var uniqueIdFieldId = 'jform_params_unique_id'; var onToggle = function onToggle(event) { event.preventDefault(); var element = document.getElementById(statsDataDetailsId); if (element) { element.classList.toggle('d-none'); } }; var onReset = function onReset(event) { event.preventDefault(); document.getElementById(uniqueIdFieldId).value = ''; Joomla.submitbutton('plugin.apply'); }; var onBoot = function onBoot() { // Toggle stats details var toggler = document.getElementById(statsDataTogglerId); if (toggler) { toggler.addEventListener('click', onToggle); } // Reset the unique id var reset = document.getElementById(resetId); if (reset) { reset.addEventListener('click', onReset); } // Cleanup document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(document, Joomla); })(); js/stats-es5.min.js 0000644 00000001402 15172532610 0010127 0 ustar 00 (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 * @since 3.5.0 */(function(e){var s="js-pstats-data-details-toggler",o="js-pstats-data-details",i="js-pstats-reset-uid",r="jform_params_unique_id",l=function(t){t.preventDefault();var a=e.getElementById(o);a&&a.classList.toggle("d-none")},d=function(t){t.preventDefault(),e.getElementById(r).value="",Joomla.submitbutton("plugin.apply")},v=function n(){var t=e.getElementById(s);t&&t.addEventListener("click",l);var a=e.getElementById(i);a&&a.addEventListener("click",d),e.removeEventListener("DOMContentLoaded",n)};e.addEventListener("DOMContentLoaded",v)})(document,Joomla)})(); js/stats-message-es5.min.js.gz 0000644 00000001462 15172532610 0012176 0 ustar 00 � �T�o�6����� �Li&k1`��u]�)�d��OA0��EfF�*�d�S����8�6�O�wO���QܵђOQȎ�){K|qr||Ď�65�� 1&�${y���캁�V��إ!���]D��w�����n��S���)WߏT�[��1���g�"d�O�:x˖��[��Sd/Y�,��`��g�W�sM4���v�b�F����˝�.�����S�Y��&���|lZ*n8��GS�� -�[�'�s ?����#r�s p����V�Y(nn��ۏ� 7,�i�Yq�Ѧ)$�G�Wm��'��]��!ҏ�'8�׀h*����KK�?���+`)e��=�$C���T����(g�����\�6Νo!��# ��o�Ғ�H����� P�(?��)�g3A��0���;�R�g��*��nS.e/�/Ȅ�vsvf�����!!�PtMh+�ݛ)��_�E���BiWcԨ�W�'o1{p�e�Mޱ��]_�h��B�2.G�ՠ�QQ�}t�M�:��.m�1��aV��6�d���U���ݥ\*��q��؋�3|jItm�a� c�� "�?3Xp�4�[3h:��y�R\��b�Ԅ$;�������ҍ�"�E�͂�Pf3ᴏ�{c!���K��p�2@t\e�&z�{���U#�r�>��ڟ�N[|㝃ȥj������FT��MN;a��sNYT��7�j(Tt�/�"��`��$��n{�����~{}�X�e2�3��n+'��qU.�v�쥐���k��_O js/stats.min.js 0000644 00000001315 15172532610 0007440 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 3.5.0 */(t=>{const a="js-pstats-data-details-toggler",o="js-pstats-data-details",l="js-pstats-reset-uid",d="jform_params_unique_id",i=e=>{e.preventDefault();const s=t.getElementById(o);s&&s.classList.toggle("d-none")},g=e=>{e.preventDefault(),t.getElementById(d).value="",Joomla.submitbutton("plugin.apply")},n=()=>{const e=t.getElementById(a);e&&e.addEventListener("click",i);const s=t.getElementById(l);s&&s.addEventListener("click",g),t.removeEventListener("DOMContentLoaded",n)};t.addEventListener("DOMContentLoaded",n)})(document,Joomla); js/stats-message.js 0000644 00000005136 15172532610 0010305 0 ustar 00 /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 3.5.0 */ Joomla = window.Joomla || {}; ((Joomla, document) => { const allowed = { input: ['type', 'name', 'value'], 'joomla-alert': ['type', 'dismiss', 'role'], button: ['type'], table: [], tbody: [], thead: [], caption: [], th: ['scope'], tr: [], td: [] }; const initStatsEvents = callback => { const messageContainer = document.getElementById('system-message-container'); const joomlaAlert = messageContainer.querySelector('.js-pstats-alert'); const detailsContainer = messageContainer.querySelector('#js-pstats-data-details'); // Show details about the information being sent document.addEventListener('click', event => { if (event.target.classList.contains('js-pstats-btn-details')) { event.preventDefault(); detailsContainer.classList.toggle('d-none'); } }); // Always allow document.addEventListener('click', event => { if (event.target.classList.contains('js-pstats-btn-allow-always')) { event.preventDefault(); // Remove message joomlaAlert.close(); callback({ plugin: 'sendAlways' }); } }); // Never allow document.addEventListener('click', event => { if (event.target.classList.contains('js-pstats-btn-allow-never')) { event.preventDefault(); // Remove message joomlaAlert.close(); callback({ plugin: 'sendNever' }); } }); }; const getJson = ({ plugin = 'sendStats' } = {}) => { const url = `index.php?option=com_ajax&group=system&plugin=${plugin}&format=raw`; const messageContainer = document.getElementById('system-message-container'); Joomla.request({ url, headers: { 'Content-Type': 'application/json' }, onSuccess: response => { try { const json = JSON.parse(response); if (json && json.html) { messageContainer.insertAdjacentHTML('beforeend', Joomla.sanitizeHtml(json.html, allowed)); messageContainer.querySelector('.js-pstats-alert').classList.remove('hidden'); initStatsEvents(getJson); } } catch (e) { throw new Error(e); } }, onError: xhr => { Joomla.renderMessages({ error: [xhr.response] }); } }); }; document.addEventListener('DOMContentLoaded', () => { getJson(); }); })(Joomla, document);
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings