File manager - Edit - /home/opticamezl/www/newok/plg_quickicon_eos.zip
Back
PK � �\́V�O O js/snooze-es5.min.js.gznu �[��� � �Zms���_A��a�|�4-u��^}W_}�s��I5�Q��x ([���;x�$��v����b_������ `��JK��pج� V��G&�.%X=\�pU�_Oh��B -�H�2^u��o�(��T4T3�1N���eO�FVt�'X�k���Fsl�,�ݬ�"�8l�Ñ[J�m�<f�J���n�~hB4�� O/��wVB��y�ŭ�����ܒ�{&Y4bzS<������D��+*�4��� ��gl^�Ϗ�i����(_k����Q�:%:]T��ID��XN0��V�3'�!1>�XGQ�5�J��~��#JǤ�M�!�0���@�����HQx�Z,i�(�7@�D�!J;q�{��ʰNB.��!"r��8%ynT����*zr����Q���Y�(I��l >�P���|Fg��H�_zK?3��B��!}�i������X9�t�G\՝�?Xu*��yZ�'s�ٲ Wh�3D/����mc�9�7�e�3t��F�[�|� �pxEwG�Q��9��F��w��=^v��{�w=x;U> �q��Qc��IN�L�s�.@]�r!ޮ��b�v�+�=���U�,G)���E��:�DQ �,���~��ˑ=�YL�]��M�]D����Ca5[[]��<�C8ұ�J�k .b� c�����Vx�\[!k���˿�I��3ܼ��e�a����g�V[h#�`l|�[-3�Ҟ��.�L��N�5����֞�`2"^z��$��;�oM�Z��Sc�] X�x�>��s)��{��L$���6�,97Ig�n6^Zw�w�R�W[����LH ��1�Ic5��N��xFs:'��32�����ص=r�1~����.��uͲ�=�.0�����%r>����y�^�'���Nҡ�gL�ΟRZ��r�����|rF���T��͒c���mJYwu�d�w��呱���2��`{���.���ݮ��:%�8���MH;��h�գ?;T0�J��.D0m�XN�����֝��y�d_�nk�ȣ�V��V� $� �Cwm��o����a�nSP�w43AU�� )�lF�.<�����+�=])>u�;��u|�ȝ�Ⱥi�F�ԽmB;��@���2�WdE'8u��tl�S��R���^��Mo^x(L��W��5��`��%����w��S܌����R� &��4`<�Vj�M\������ݛ�q�����H�i*��7�l��rsεdT�E�@��ҝOc�M0��۪j�Ҷ�1ZhX3�>5����ޱx��J!tXOm�?��^TI��hГ�a�2@�[^a+�xc�Nw�f�(������~��P[�=b�\��6Y~r�Hۯ�+2�=<>�o�!d�" ��WQ:��m��Sć{�E�r�xݼ%N^R�]]ꢭQ�8l�̆�4�a[���%*�= S���ej���6��� ���?C��փ�lL.�X�u��]kn�b�ֻa���F���R��V::�&�1��[���l�:�dE� �g���WD.w����N�;zvP�� ����=^"�u>o�苭�=D�HE�4p(V�ۿ��5�n��͢���/v��g�qߘ� ޝ]AV��Y6Q8��b�� 8���tC��T������4Im`���3k%��g.=Z���;� ��ˣ�}63pxH�D-�Ihm���L�:� ����� �m1 k(�������T@t%���ʙUƅ(�Ů�s����&u���E�T�O�C/�^ %�٤���K���k<pPlq�������O�i��N��K{��,��f�,5��DG6����8�8]y����uoh�Æ�Q�X�*g)���浹��FJ�"�AO�� m���&�*g<C���Ҵ߯�B�&y�:�g�ndh =.����zh�;�e�w%��i����ju���6p���!yr:$���䤻��3� ӥ��Ǯ�� ��y�M���B�'z�ۈk �R�¦� !Z���v��ʢh��ox�-u�wk�h�}Ǵ���Z7�R�_�e��MG��9S�M�4�tE��^�Rv{ d�%���Fn�J���Ǐ1/y^:Ϸ���s��6%ɮ�������E�SIɲ��dS�>���k�<è;Q���ֶR�i�Ԩ�IնX>�����W6��ǘ��in�@ k�<�WFG�jޮ��:y�椣���ka��XKݜ�W��.[�.;{}�E�c���=�(c�������r\iW��W�ƕ�4S������X3����/@kd��%b�r�I���d��M�[�)��o�27�4�P@���B�ֵ)��68���7U[��f>M>�ƥ�������z'@�����r��n,��P�*�m���r��x>�r<��@�}�V%X4�Q=u 9L|��^O�OT�荂�k�BnNe�[��D�K�jػV�컶���XĤ(� `��]:o@�����AS�Q!�3=��%9�����ݎ��Y\����G`*ץ6�[Ki����T�������:9��4N�n�E��"P�7/!��#)�����]?��l�L��g�����?�(�̶�k0J��=��������9YtG��o_Ś* J��i�Hn�[<�n���ϣ0�>�-x�H���oذ<>�j\N���&Tw�O�$�a�#ݛ�4�����k�݊q�ۜE�ҫJ\6�1�)�3PZ�92�$p�%��!�nY���@����r5�2�UE@����a4�}��gT5wω�u����XO��/�u��$g�y-�e! ��'͕C�.��BΨ4�S�^J KO��6L�R�`A��� �+�_�~���__?$]�9 ��X�$���9�*�-��%K�,<�Bٷ�(6��:�[���&�.(nE)S|4:J������օJ^�z||��QBο��L�qe�x��όypSNs�����Lh�6-\N4��@Q\^�=��=����*���i �.�}�[�n.�K��~��7�L3�3EM7mb�O6�?��4s���@�6J�U\�P!��D�we�����S\,����8�{�@���e��4�� kiL��2�h��̍F��uI���GS��-�@�]���_�-��>���@X$�I�kK��\�t0��az�#3%&w#ln�V)Q4$ �������OXퟰr'�vO0��7�:����,&��]�U�7�U9�[�zV�K�u�*I ���o�aO�<�X���D�l {)���Ҝ���.4�6'��=�js�Ӿ@��}���.��������$0�9_S�/��&�@��,]>s[d��O�ZP2�R%U�����O�N�Ē�0y&R%�X��p� ú����e,�Qd�Ns�Ly ]����JB�n/���L��8'��� ���ƴs��)D���q��9�����Q��]{��N��(ԃ}�w��X�QѲ�n�;ۊx���y��P�)$` !z)�M�h��c��1�TQ�����{3��-���T'+���3��M�C�Z�i��2�+]�|f���'��jI�}t ~�oġG$ PK � �\*��4x x js/snooze.min.js.gznu �[��� � �R�n1}�W���*qKyK�� *� B���f�8���l���hwS*��=��3g��ގ�Soj��n�=�٫��B��L�|l����r��X�(�*QJuxp�R]�56�A�; ���zU��<��_.���� iv�A��!qG�����ꪙ����6{��:TH*:�(Pg��'�'VdG��R���*�R�!鬏��W�*�J(�&���J�$���L<&�P���/�����V��e-�W,�����3c���]�&�l]կ�+�=.~�[�0�6u~�(����yP"-�䷌��L��We�|�0�7��s`v3�cL�B�i�f]"�5),U2�%�["��%�B�uE��f�*%6B�Ie���r�e��1?B{� ��!��V�� %��'ğ0�J�L�O��=�^�·��ג=��$g�����|~� �ɏJ_��p]�+�x�ξ���?�}�9�l���y��J�6�~e�fc�T��9�hq>t}D��^�$����l��lz�p�@�@�S�L�۠������n/�@�, �S}��6-z�����p�D(L��*Ģ�k�{0�f*0�=ؘ��o�z9� PK � �\ġG$ $ js/snooze-es5.min.jsnu �[��� (function(){"use strict";function S(){S=function(){return i};var o,i={},u=Object.prototype,s=u.hasOwnProperty,p=Object.defineProperty||function(e,t,r){e[t]=r.value},g=typeof Symbol=="function"?Symbol:{},y=g.iterator||"@@iterator",b=g.asyncIterator||"@@asyncIterator",l=g.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch{h=function(t,r,a){return t[r]=a}}function A(e,t,r,a){var n=t&&t.prototype instanceof M?t:M,c=Object.create(n.prototype),f=new J(a||[]);return p(c,"_invoke",{value:V(e,r,f)}),c}function E(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(a){return{type:"throw",arg:a}}}i.wrap=A;var x="suspendedStart",z="suspendedYield",m="executing",L="completed",w={};function M(){}function G(){}function k(){}var N={};h(N,y,function(){return this});var C=Object.getPrototypeOf,T=C&&C(C(R([])));T&&T!==u&&s.call(T,y)&&(N=T);var _=k.prototype=M.prototype=Object.create(N);function U(e){["next","throw","return"].forEach(function(t){h(e,t,function(r){return this._invoke(t,r)})})}function P(e,t){function r(n,c,f,v){var d=E(e[n],e,c);if(d.type!=="throw"){var j=d.arg,I=j.value;return I&&typeof I=="object"&&s.call(I,"__await")?t.resolve(I.__await).then(function(O){r("next",O,f,v)},function(O){r("throw",O,f,v)}):t.resolve(I).then(function(O){j.value=O,f(j)},function(O){return r("throw",O,f,v)})}v(d.arg)}var a;p(this,"_invoke",{value:function(n,c){function f(){return new t(function(v,d){r(n,c,v,d)})}return a=a?a.then(f,f):f()}})}function V(e,t,r){var a=x;return function(n,c){if(a===m)throw new Error("Generator is already running");if(a===L){if(n==="throw")throw c;return{value:o,done:!0}}for(r.method=n,r.arg=c;;){var f=r.delegate;if(f){var v=D(f,r);if(v){if(v===w)continue;return v}}if(r.method==="next")r.sent=r._sent=r.arg;else if(r.method==="throw"){if(a===x)throw a=L,r.arg;r.dispatchException(r.arg)}else r.method==="return"&&r.abrupt("return",r.arg);a=m;var d=E(e,t,r);if(d.type==="normal"){if(a=r.done?L:z,d.arg===w)continue;return{value:d.arg,done:r.done}}d.type==="throw"&&(a=L,r.method="throw",r.arg=d.arg)}}}function D(e,t){var r=t.method,a=e.iterator[r];if(a===o)return t.delegate=null,r==="throw"&&e.iterator.return&&(t.method="return",t.arg=o,D(e,t),t.method==="throw")||r!=="return"&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var n=E(a,e.iterator,t.arg);if(n.type==="throw")return t.method="throw",t.arg=n.arg,t.delegate=null,w;var c=n.arg;return c?c.done?(t[e.resultName]=c.value,t.next=e.nextLoc,t.method!=="return"&&(t.method="next",t.arg=o),t.delegate=null,w):c:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,w)}function Z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function q(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function J(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Z,this),this.reset(!0)}function R(e){if(e||e===""){var t=e[y];if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(s.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=o,n.done=!0,n};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return G.prototype=k,p(_,"constructor",{value:k,configurable:!0}),p(k,"constructor",{value:G,configurable:!0}),G.displayName=h(k,l,"GeneratorFunction"),i.isGeneratorFunction=function(e){var t=typeof e=="function"&&e.constructor;return!!t&&(t===G||(t.displayName||t.name)==="GeneratorFunction")},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,h(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},i.awrap=function(e){return{__await:e}},U(P.prototype),h(P.prototype,b,function(){return this}),i.AsyncIterator=P,i.async=function(e,t,r,a,n){n===void 0&&(n=Promise);var c=new P(A(e,t,r,a),n);return i.isGeneratorFunction(t)?c:c.next().then(function(f){return f.done?f.value:c.next()})},U(_),h(_,l,"Generator"),h(_,y,function(){return this}),h(_,"toString",function(){return"[object Generator]"}),i.keys=function(e){var t=Object(e),r=[];for(var a in t)r.push(a);return r.reverse(),function n(){for(;r.length;){var c=r.pop();if(c in t)return n.value=c,n.done=!1,n}return n.done=!0,n}},i.values=R,J.prototype={constructor:J,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(q),!e)for(var t in this)t.charAt(0)==="t"&&s.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=o)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type==="throw")throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(d,j){return c.type="throw",c.arg=e,t.next=d,j&&(t.method="next",t.arg=o),!!j}for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a],c=n.completion;if(n.tryLoc==="root")return r("end");if(n.tryLoc<=this.prev){var f=s.call(n,"catchLoc"),v=s.call(n,"finallyLoc");if(f&&v){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(f){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!v)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&s.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}n&&(e==="break"||e==="continue")&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var c=n?n.completion:{};return c.type=e,c.arg=t,n?(this.method="next",this.next=n.finallyLoc,w):this.complete(c)},complete:function(e,t){if(e.type==="throw")throw e.arg;return e.type==="break"||e.type==="continue"?this.next=e.arg:e.type==="return"?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):e.type==="normal"&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),q(r),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if(a.type==="throw"){var n=a.arg;q(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:R(e),resultName:t,nextLoc:r},this.method==="next"&&(this.arg=o),w}},i}function Y(o,i,u,s,p,g,y){try{var b=o[g](y),l=b.value}catch(h){u(h);return}b.done?i(l):Promise.resolve(l).then(s,p)}function H(o){return function(){var i=this,u=arguments;return new Promise(function(s,p){var g=o.apply(i,u);function y(l){Y(g,s,p,y,b,"next",l)}function b(l){Y(g,s,p,y,b,"throw",l)}y(void 0)})}}function W(o,i){if(o){if(typeof o=="string")return $(o,i);var u=Object.prototype.toString.call(o).slice(8,-1);if(u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set")return Array.from(o);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return $(o,i)}}function $(o,i){(i==null||i>o.length)&&(i=o.length);for(var u=0,s=new Array(i);u<i;u++)s[u]=o[u];return s}function X(o,i){var u=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(u)return(u=u.call(o)).next.bind(u);if(Array.isArray(o)||(u=W(o))||i&&o&&typeof o.length=="number"){u&&(o=u);var s=0;return function(){return s>=o.length?{done:!0}:{done:!1,value:o[s++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/** * @package Joomla.Plugin * @subpackage Quickicon.eos * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */if(!Joomla)throw new Error("Joomla API is not properly initialised");var B=new URL(Joomla.getOptions("system.paths").baseFull+"index.php?option=com_ajax&group=quickicon&plugin=eos&format=json");function K(o,i){return F.apply(this,arguments)}function F(){return F=H(S().mark(function o(i,u){var s,p,g,y;return S().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:s=S().mark(function h(){var A,E,x;return S().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(A=y.value,E=Array.from(A.addedNodes),E.length){m.next=4;break}return m.abrupt("return",{v:void 0});case 4:if(x=E.filter(function(L){return L.querySelector(".eosnotify-snooze-btn")}),x.length){m.next=7;break}return m.abrupt("return",{v:void 0});case 7:u.disconnect(),x[0].querySelector(".eosnotify-snooze-btn").addEventListener("click",function(){return fetch(B,{headers:{"X-CSRF-Token":Joomla.getOptions("csrf.token")||""}}).then(function(L){L.ok&&x[0].closest("joomla-alert").close()})});case 9:case"end":return m.stop()}},h)}),g=X(i);case 2:if((y=g()).done){l.next=9;break}return l.delegateYield(s(),"t0",4);case 4:if(p=l.t0,!p){l.next=7;break}return l.abrupt("return",p.v);case 7:l.next=2;break;case 9:case"end":return l.stop()}},o)})),F.apply(this,arguments)}var Q=new MutationObserver(K);Q.observe(document.querySelector("#system-message-container"),{attributes:!1,childList:!0,subtree:!0})})(); PK � �\��b�M M js/snooze.jsnu �[��� /** * @package Joomla.Plugin * @subpackage Quickicon.eos * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ if (!Joomla) { throw new Error('Joomla API is not properly initialised'); } const url = new URL(`${Joomla.getOptions('system.paths').baseFull}index.php?option=com_ajax&group=quickicon&plugin=eos&format=json`); async function onMutatedMessagesContainer(mutationList, observer) { // eslint-disable-next-line no-restricted-syntax for (const mutation of mutationList) { const nodes = Array.from(mutation.addedNodes); if (!nodes.length) { return; } const alerts = nodes.filter(node => node.querySelector('.eosnotify-snooze-btn')); if (!alerts.length) { return; } observer.disconnect(); alerts[0].querySelector('.eosnotify-snooze-btn').addEventListener('click', () => fetch(url, { headers: { 'X-CSRF-Token': Joomla.getOptions('csrf.token') || '' } }).then(response => { if (response.ok) { alerts[0].closest('joomla-alert').close(); } })); } } const observer = new MutationObserver(onMutatedMessagesContainer); observer.observe(document.querySelector('#system-message-container'), { attributes: false, childList: true, subtree: true }); PK � �\�A��B �B js/snooze-es5.jsnu �[��� (function () { 'use strict'; function _regeneratorRuntime() { _regeneratorRuntime = function () { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function (t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function (t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(typeof e + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function (e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function () { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function (e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function (t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function (t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function (t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function (t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function (e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } /** * @package Joomla.Plugin * @subpackage Quickicon.eos * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ if (!Joomla) { throw new Error('Joomla API is not properly initialised'); } var url = new URL(Joomla.getOptions('system.paths').baseFull + "index.php?option=com_ajax&group=quickicon&plugin=eos&format=json"); function onMutatedMessagesContainer(_x, _x2) { return _onMutatedMessagesContainer.apply(this, arguments); } function _onMutatedMessagesContainer() { _onMutatedMessagesContainer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(mutationList, observer) { var _loop, _ret, _iterator, _step; return _regeneratorRuntime().wrap(function _callee$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: _loop = /*#__PURE__*/_regeneratorRuntime().mark(function _loop() { var mutation, nodes, alerts; return _regeneratorRuntime().wrap(function _loop$(_context) { while (1) switch (_context.prev = _context.next) { case 0: mutation = _step.value; nodes = Array.from(mutation.addedNodes); if (nodes.length) { _context.next = 4; break; } return _context.abrupt("return", { v: void 0 }); case 4: alerts = nodes.filter(function (node) { return node.querySelector('.eosnotify-snooze-btn'); }); if (alerts.length) { _context.next = 7; break; } return _context.abrupt("return", { v: void 0 }); case 7: observer.disconnect(); alerts[0].querySelector('.eosnotify-snooze-btn').addEventListener('click', function () { return fetch(url, { headers: { 'X-CSRF-Token': Joomla.getOptions('csrf.token') || '' } }).then(function (response) { if (response.ok) { alerts[0].closest('joomla-alert').close(); } }); }); case 9: case "end": return _context.stop(); } }, _loop); }); _iterator = _createForOfIteratorHelperLoose(mutationList); case 2: if ((_step = _iterator()).done) { _context2.next = 9; break; } return _context2.delegateYield(_loop(), "t0", 4); case 4: _ret = _context2.t0; if (!_ret) { _context2.next = 7; break; } return _context2.abrupt("return", _ret.v); case 7: _context2.next = 2; break; case 9: case "end": return _context2.stop(); } }, _callee); })); return _onMutatedMessagesContainer.apply(this, arguments); } var observer = new MutationObserver(onMutatedMessagesContainer); observer.observe(document.querySelector('#system-message-container'), { attributes: false, childList: true, subtree: true }); })(); PK � �\�z9� � js/snooze.min.jsnu �[��� /** * @package Joomla.Plugin * @subpackage Quickicon.eos * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */if(!Joomla)throw new Error("Joomla API is not properly initialised");const url=new URL(`${Joomla.getOptions("system.paths").baseFull}index.php?option=com_ajax&group=quickicon&plugin=eos&format=json`);async function onMutatedMessagesContainer(n,s){for(const r of n){const t=Array.from(r.addedNodes);if(!t.length)return;const e=t.filter(o=>o.querySelector(".eosnotify-snooze-btn"));if(!e.length)return;s.disconnect(),e[0].querySelector(".eosnotify-snooze-btn").addEventListener("click",()=>fetch(url,{headers:{"X-CSRF-Token":Joomla.getOptions("csrf.token")||""}}).then(o=>{o.ok&&e[0].closest("joomla-alert").close()}))}}const observer=new MutationObserver(onMutatedMessagesContainer);observer.observe(document.querySelector("#system-message-container"),{attributes:!1,childList:!0,subtree:!0}); PK � �\́V�O O js/snooze-es5.min.js.gznu �[��� PK � �\*��4x x � js/snooze.min.js.gznu �[��� PK � �\ġG$ $ Q js/snooze-es5.min.jsnu �[��� PK � �\��b�M M �5 js/snooze.jsnu �[��� PK � �\�A��B �B /; js/snooze-es5.jsnu �[��� PK � �\�z9� � �} js/snooze.min.jsnu �[��� PK � '�
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings