�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: bot-allowlist.min.js Size: 15.97 KB
/home2/astrociv/public_html/avantaraholidays.com/wp-content/plugins/imunify-security/assets/js/bot-allowlist.min.js
(function(){"use strict";var LISTS=["ip","rest_api","path","user_agent"];var config="undefined"===typeof imunifyBotAllowlist?null:imunifyBotAllowlist;var section=null;var saved={};var work={};var caps={};var readonly={};var busy=false;function ready(fn){if("loading"!==document.readyState){fn()}else{document.addEventListener("DOMContentLoaded",fn)}}function raw(key){return config&&config.i18n&&config.i18n[key]?config.i18n[key]:key}function t(key,args){var text=raw(key);var i=0;args=args||[];return text.replace(/%(?:(\d)\$)?s/g,function(match,pos){var value=pos?args[parseInt(pos,10)-1]:args[i++];return undefined===value?"":String(value)})}function formatNumber(n){try{return Number(n).toLocaleString(config&&config.locale?config.locale:undefined)}catch(e){return String(n)}}function copy(entries){var out=[];var i;for(i=0;i<entries.length;i++){out.push({value:entries[i].value,note:entries[i].note||""})}return out}function indexOf(entries,value){var lower=String(value).toLowerCase();var i;for(i=0;i<entries.length;i++){if(String(entries[i].value).toLowerCase()===lower){return i}}return-1}function isSaved(list,entry){var at=indexOf(saved[list],entry.value);return-1!==at&&(saved[list][at].note||"")===(entry.note||"")}function dirtyCount(){var n=0;var l;var i;for(l=0;l<LISTS.length;l++){for(i=0;i<work[LISTS[l]].length;i++){if(!isSaved(LISTS[l],work[LISTS[l]][i])){n++}}for(i=0;i<saved[LISTS[l]].length;i++){if(-1===indexOf(work[LISTS[l]],saved[LISTS[l]][i].value)){n++}}}return n}function panelOf(list){return section.querySelector('.js-bot-allowlist-panel[data-list="'+list+'"]')}function message(list,kind,lines,actions){var box=panelOf(list).querySelector(".js-bot-allowlist-msg");var i;box.className="imunify-security__bot-allowlist-msg js-bot-allowlist-msg"+(kind?" is-"+kind:"");box.textContent="";for(i=0;lines&&i<lines.length;i++){var p=document.createElement("p");p.textContent=lines[i];box.appendChild(p)}if(actions){box.appendChild(actions)}}function messagesOf(issues){var out=[];var i;for(i=0;issues&&i<issues.length;i++){out.push(issues[i].message)}return out}function entryRow(entry,state,index,isError){var tr=document.createElement("tr");var value=document.createElement("td");var code=document.createElement("code");var note=document.createElement("td");var actions=document.createElement("td");var button=document.createElement("button");tr.className=(state?"is-"+state:"")+(isError?" is-error":"");code.textContent=entry.value;value.appendChild(code);if("new"===state){var tag=document.createElement("span");tag.className="imunify-security__bot-allowlist-tag";tag.textContent=t("newTag");value.appendChild(tag)}note.textContent=entry.note||"";actions.className="imunify-security__bot-allowlist-actions";button.type="button";button.className="button-link imunify-security__bot-allowlist-remove";if("removed"===state){button.textContent=t("undo");button.setAttribute("data-undo",entry.value);button.setAttribute("aria-label",t("undoEntry",[entry.value]))}else{button.textContent=t("remove");button.setAttribute("data-remove",String(index));button.setAttribute("aria-label",t("removeEntry",[entry.value]))}actions.appendChild(button);tr.appendChild(value);tr.appendChild(note);tr.appendChild(actions);return tr}function renderList(list,errorRows){var panel=panelOf(list);var body=panel.querySelector(".js-bot-allowlist-rows");var i;body.textContent="";for(i=0;i<work[list].length;i++){var isNew=!isSaved(list,work[list][i]);body.appendChild(entryRow(work[list][i],isNew?"new":"",i,errorRows&&-1!==errorRows.indexOf(i)))}for(i=0;i<saved[list].length;i++){if(-1===indexOf(work[list],saved[list][i].value)){body.appendChild(entryRow(saved[list][i],"removed",-1,false))}}if(!body.firstChild){var tr=document.createElement("tr");var td=document.createElement("td");tr.className="imunify-security__bot-allowlist-empty";td.colSpan=3;td.textContent=body.getAttribute("data-empty");tr.appendChild(td);body.appendChild(tr)}panel.querySelector(".js-bot-allowlist-cap").textContent=t("capText",[formatNumber(work[list].length),formatNumber(caps[list])]);var tab=section.querySelector('.js-bot-allowlist-tab[data-list="'+list+'"] .js-bot-allowlist-tab-count');if(tab){tab.textContent=formatNumber(work[list].length+(readonly[list]||0))}}function renderSaveBar(text){var bar=section.querySelector(".js-bot-allowlist-savebar");if(!bar){return}var count=dirtyCount();bar.classList.toggle("is-dirty",0<count);bar.querySelector(".js-bot-allowlist-save-text").textContent=text||(count?t("unsaved",[formatNumber(count)]):t("noChanges"));bar.querySelector(".js-bot-allowlist-save").disabled=busy||!count;bar.querySelector(".js-bot-allowlist-discard").disabled=busy||!count}function renderAll(){var i;for(i=0;i<LISTS.length;i++){renderList(LISTS[i])}renderSaveBar("")}function post(fields,done){var body="action="+encodeURIComponent(config.action)+"&_ajax_nonce="+encodeURIComponent(config.nonce);var key;for(key in fields){if(Object.prototype.hasOwnProperty.call(fields,key)){body+="&"+encodeURIComponent(key)+"="+encodeURIComponent(fields[key])}}var xhr=new XMLHttpRequest;xhr.open("POST",config.ajaxUrl,true);xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr.onreadystatechange=function(){if(4!==xhr.readyState){return}var response=null;try{response=JSON.parse(xhr.responseText)}catch(e){response=null}if(!response||"object"!==typeof response){var body=xhr.responseText.trim();var expired=403===xhr.status&&"-1"===body||"0"===body;done(false,{message:t(expired?"expired":"requestFailed")});return}done(true===response.success,response.data||{})};xhr.send(body)}function addEntry(list,entry,form){if(busy){message(list,"warning",[t("wait")]);return}if(-1!==indexOf(work[list],entry.value)){message(list,"error",[t("duplicate",[entry.value])]);return}work[list].push({value:entry.value,note:entry.note||""});form.querySelector('[name="value"]').value="";form.querySelector('[name="note"]').value="";message(list,"success",[t("added",[entry.value])]);renderList(list);renderSaveBar("");form.querySelector('[name="value"]').focus()}function warningActions(list,entry,form){var wrap=document.createElement("span");var cancel=document.createElement("button");var ok=document.createElement("button");wrap.className="imunify-security__bot-allowlist-msg-actions";cancel.type="button";cancel.className="button";cancel.textContent=t("cancel");ok.type="button";ok.className="button button-primary";ok.textContent=t("addAnyway");cancel.addEventListener("click",function(){message(list,"",[]);form.querySelector('[name="value"]').focus()});ok.addEventListener("click",function(){addEntry(list,entry,form)});wrap.appendChild(cancel);wrap.appendChild(ok);return wrap}function submitAdd(form){var list=form.getAttribute("data-list");var value=form.querySelector('[name="value"]').value;var note=form.querySelector('[name="note"]').value;var button=form.querySelector('[type="submit"]');if(busy){message(list,"warning",[t("wait")]);return}if(work[list].length>=caps[list]){message(list,"error",[t("full",[formatNumber(caps[list])])]);return}button.disabled=true;message(list,"",[t("checking")]);post({op:"validate",list:list,value:value,note:note},function(ok,data){button.disabled=false;if(!ok){message(list,"error",[data.message||t("requestFailed")]);return}if(data.errors&&data.errors.length){message(list,"error",messagesOf(data.errors));return}if(!data.entry){message(list,"error",[t("requestFailed")]);return}if(-1!==indexOf(work[list],data.entry.value)){message(list,"error",[t("duplicate",[data.entry.value])]);return}if(data.warnings&&data.warnings.length){message(list,"warning",messagesOf(data.warnings),warningActions(list,data.entry,form));return}addEntry(list,data.entry,form)})}function appendFormatted(parent,key,nodes){var parts=raw(key).split(/(%(?:\d\$)?s)/);var next=0;var i;for(i=0;i<parts.length;i++){var placeholder=/^%(?:(\d)\$)?s$/.exec(parts[i]);var node=null;if(placeholder){node=nodes[placeholder[1]?parseInt(placeholder[1],10)-1:next++]}parent.appendChild(node||document.createTextNode(placeholder?"":parts[i]))}}function element(tag,text){var el=document.createElement(tag);el.textContent=text;return el}function renderCheckResult(box,data){var first=document.createElement("p");var checked=document.createElement("p");box.textContent="";appendFormatted(checked,"checkRequest",[element("code",data.request||"")]);var off=false===data.protection?element("p",t("checkOff")):null;if(!data.allowlisted){box.className="imunify-security__bot-allowlist-check-result js-bot-allowlist-check-result";first.appendChild(element("strong",t("checkMiss")));if(!off){first.appendChild(document.createTextNode(" "+t("checkNoRule")))}box.appendChild(first);if(off){box.appendChild(off)}box.appendChild(checked);return}box.className="imunify-security__bot-allowlist-check-result js-bot-allowlist-check-result is-allowlisted";var strong=document.createElement("strong");appendFormatted(strong,"checkHit",[document.createTextNode(data.type_label),element("code",data.entry),document.createTextNode(data.source_label)]);first.appendChild(strong);if(!off){first.appendChild(document.createTextNode(" "+t("checkSkips")))}box.appendChild(first);if(data.note){box.appendChild(element("p",t("checkNote",[data.note])))}if(off){box.appendChild(off)}box.appendChild(checked)}function submitCheck(form){var box=section.querySelector(".js-bot-allowlist-check-result");var button=form.querySelector('[type="submit"]');var lists={};var i;for(i=0;i<LISTS.length;i++){lists[LISTS[i]]=work[LISTS[i]]}button.disabled=true;box.className="imunify-security__bot-allowlist-check-result js-bot-allowlist-check-result";box.textContent=t("checking");post({op:"check",url:form.querySelector('[name="url"]').value,ip:form.querySelector('[name="ip"]').value,user_agent:form.querySelector('[name="user_agent"]').value,lists:JSON.stringify(lists)},function(ok,data){button.disabled=false;if(ok){renderCheckResult(box,data);return}box.className="imunify-security__bot-allowlist-check-result js-bot-allowlist-check-result is-error";box.textContent="";box.appendChild(element("p",data.message||t("requestFailed")));var lines=messagesOf(data.errors);for(i=0;i<lines.length;i++){box.appendChild(element("p",lines[i]))}if(data.field){var field=form.querySelector('[name="'+data.field+'"]');if(field){field.focus()}}})}function selectTab(tab,focus){var tabs=section.querySelectorAll(".js-bot-allowlist-tab");var i;for(i=0;i<tabs.length;i++){var on=tabs[i]===tab;tabs[i].setAttribute("aria-selected",on?"true":"false");tabs[i].tabIndex=on?0:-1;var panel=document.getElementById(tabs[i].getAttribute("aria-controls"));if(panel){panel.hidden=!on}}if(focus){tab.focus()}}function save(){var lists={};var i;for(i=0;i<LISTS.length;i++){lists[LISTS[i]]=work[LISTS[i]];message(LISTS[i],"",[])}busy=true;renderSaveBar(t("saving"));post({op:"save",lists:JSON.stringify(lists)},function(ok,data){busy=false;if(ok&&data.lists){for(i=0;i<LISTS.length;i++){saved[LISTS[i]]=copy(data.lists[LISTS[i]]||[]);work[LISTS[i]]=copy(saved[LISTS[i]])}if(data.card){setText(".js-bot-allowlist-card-total",data.card.total);setText(".js-bot-allowlist-card-owner",data.card.owner);setText(".js-bot-allowlist-open",data.card.link)}renderAll();renderSaveBar(data.message);return}showSaveErrors(data)})}function showSaveErrors(data){var errors=data.errors||[];var byList={};var first=null;var i;for(i=0;i<errors.length;i++){var list=-1!==LISTS.indexOf(errors[i].list)?errors[i].list:LISTS[0];byList[list]=byList[list]||[];byList[list].push(errors[i]);first=first||list}for(i=0;i<LISTS.length;i++){var issues=byList[LISTS[i]]||[];var rows=[];var j;for(j=0;j<issues.length;j++){rows.push(issues[j].index)}renderList(LISTS[i],rows);if(issues.length){message(LISTS[i],"error",messagesOf(issues))}}if(first){selectTab(section.querySelector('.js-bot-allowlist-tab[data-list="'+first+'"]'),false)}renderSaveBar(data.message||t("requestFailed"))}function setText(selector,text){var nodes=document.querySelectorAll(selector);var i;for(i=0;i<nodes.length;i++){nodes[i].textContent=text}}function setOpen(open){var toggles=document.querySelectorAll(".js-bot-allowlist-toggle");var i;section.hidden=!open;for(i=0;i<toggles.length;i++){toggles[i].setAttribute("aria-expanded",open?"true":"false");toggles[i].classList.toggle("is-open",open)}}function openAndFocus(){setOpen(true);var title=section.querySelector("h2");if(section.scrollIntoView){section.scrollIntoView({block:"start"})}if(title){title.focus()}}function filterRows(input){var body=input.closest(".imunify-security__bot-allowlist-ro-body");var needle=input.value.trim().toLowerCase();var rows=body.querySelectorAll(".js-bot-allowlist-ro-row");var shown=0;var i;for(i=0;i<rows.length;i++){var match=!needle||-1!==rows[i].cells[0].textContent.toLowerCase().indexOf(needle);rows[i].hidden=!match;shown+=match?1:0}var none=body.querySelector(".js-bot-allowlist-nomatch");if(none){none.hidden=0<shown}}function bindNavigation(){var toggles=document.querySelectorAll(".js-bot-allowlist-toggle");var links=document.querySelectorAll(".js-bot-allowlist-open");var tabs=section.querySelectorAll(".js-bot-allowlist-tab");var searches=section.querySelectorAll(".js-bot-allowlist-search");var close=section.querySelector(".js-bot-allowlist-close");var i;for(i=0;i<toggles.length;i++){toggles[i].addEventListener("click",function(){if(section.hidden){openAndFocus()}else{setOpen(false)}})}for(i=0;i<links.length;i++){links[i].addEventListener("click",openAndFocus)}if(close){close.addEventListener("click",function(){setOpen(false);if(toggles.length){toggles[0].focus()}})}for(i=0;i<tabs.length;i++){tabs[i].addEventListener("click",function(){selectTab(this,false)});tabs[i].addEventListener("keydown",function(e){var list=Array.prototype.slice.call(tabs);var step="ArrowRight"===e.key?1:"ArrowLeft"===e.key?-1:0;if(!step){return}e.preventDefault();selectTab(list[(list.indexOf(this)+step+list.length)%list.length],true)})}for(i=0;i<searches.length;i++){searches[i].addEventListener("input",function(){filterRows(this)})}}function restoreFocus(list,value){var panel=panelOf(list);var buttons=panel.querySelectorAll("[data-undo]");var i;for(i=0;null!==value&&i<buttons.length;i++){if(buttons[i].getAttribute("data-undo")===value){buttons[i].focus();return}}var input=panel.querySelector('.js-bot-allowlist-add [name="value"]');if(input){input.focus()}}function bindEditing(){var forms=section.querySelectorAll(".js-bot-allowlist-add");var i;for(i=0;i<forms.length;i++){forms[i].addEventListener("submit",function(e){e.preventDefault();submitAdd(this)})}section.addEventListener("click",function(e){var button=e.target.closest?e.target.closest("[data-remove], [data-undo]"):null;if(!button||busy){return}var list=button.closest(".js-bot-allowlist-panel").getAttribute("data-list");var focusValue=null;if(button.hasAttribute("data-remove")){var removed=work[list].splice(parseInt(button.getAttribute("data-remove"),10),1);focusValue=removed.length?removed[0].value:null}else{var at=indexOf(saved[list],button.getAttribute("data-undo"));if(-1!==at&&-1===indexOf(work[list],saved[list][at].value)){work[list].push({value:saved[list][at].value,note:saved[list][at].note})}}message(list,"",[]);renderList(list);renderSaveBar("");restoreFocus(list,focusValue)});var check=section.querySelector(".js-bot-allowlist-check");if(check){check.addEventListener("submit",function(e){e.preventDefault();submitCheck(this)})}var saveButton=section.querySelector(".js-bot-allowlist-save");var discard=section.querySelector(".js-bot-allowlist-discard");saveButton.addEventListener("click",save);discard.addEventListener("click",function(){var l;for(l=0;l<LISTS.length;l++){work[LISTS[l]]=copy(saved[LISTS[l]]);message(LISTS[l],"",[])}renderAll()});window.addEventListener("beforeunload",function(e){if(0<dirtyCount()){e.preventDefault();e.returnValue=""}})}ready(function(){section=document.getElementById("imunify-bot-allowlist");var node=document.getElementById("imunify-bot-allowlist-data");if(!section||!node){return}var data;try{data=JSON.parse(node.textContent||"{}")}catch(e){return}var i;for(i=0;i<LISTS.length;i++){saved[LISTS[i]]=copy(data.lists&&data.lists[LISTS[i]]||[]);work[LISTS[i]]=copy(saved[LISTS[i]])}caps=data.caps||{};readonly=data.readonly||{};bindNavigation();if(config&&section.querySelector(".js-bot-allowlist-savebar")){bindEditing();renderAll()}})})();

Directory Contents

Dirs: 0 × Files: 4
Name Size Perms Modified Actions
7.12 KB lrwxr-xr-x 2026-11-03 01:06:18
Edit Download
15.97 KB lrwxr-xr-x 2026-11-03 01:06:18
Edit Download
6.89 KB lrwxr-xr-x 2026-11-03 01:06:18
Edit Download
15.77 KB lrwxr-xr-x 2026-11-03 01:06:18
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI