HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/www/wp-content/plugins_backup/site-mailer/assets/build/deactivation.js
(()=>{"use strict";var e,t={932:()=>{document.addEventListener("DOMContentLoaded",(function(){function e(e){const t=document.getElementById(e);t&&(t.style.display="block")}const t=document.getElementById("deactivate-site-mailer");if(t){const n=t.getAttribute("href");t.addEventListener("click",(function(e){var t;return e.preventDefault(),t="site-mailer-feedback-thickbox",window.tb_show&&window.tb_show("QUICK FEEDBACK","#TB_inline?width=550&height=auto&inlineId=site-mailer-deactivation-modal"),setTimeout((function(){if(t){const e=document.getElementById("TB_window");e&&e.classList.add(t)}}),5),!1})),document.addEventListener("change",(function(t){if(t.target&&"site_mailer_deactivation_reason"===t.target.name){document.querySelectorAll(".site-mailer-feedback-text-field").forEach((function(e){e.style.display="none"}));const n=t.target.value;"unclear_how_to_use"===n?e("text_field_unclear"):"switched_solution"===n?e("text_field_switched"):"other"===n&&e("text_field_other")}})),document.addEventListener("click",(function(e){if(e.target&&"site-mailer-submit-deactivate"===e.target.id){e.preventDefault();const t=document.querySelector('input[name="site_mailer_deactivation_reason"]:checked'),i=t?t.value:"";let o="";if("unclear_how_to_use"===i){const e=document.getElementById("unclear_details");o=e?e.value:""}else if("switched_solution"===i){const e=document.getElementById("switched_details");o=e?e.value:""}else if("other"===i){const e=document.getElementById("other_details");o=e?e.value:""}i?function(e,t){const n=new URLSearchParams(e);fetch(window?.siteMailerDeactivationFeedback?.ajaxurl||"",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n}).then((()=>{t&&t()})).catch((e=>{console.warn("Feedback submission failed:",e),t&&t()}))}({action:"site_mailer_deactivation_feedback",reason:i,additional_data:o,nonce:window?.siteMailerDeactivationFeedback?.nonce||""},(function(){window.tb_remove&&window.tb_remove(),window.location.href=n})):(window.tb_remove&&window.tb_remove(),window.location.href=n)}})),document.addEventListener("click",(function(e){e.target&&"site-mailer-skip-deactivate"===e.target.id&&(e.preventDefault(),window.tb_remove&&window.tb_remove(),window.location.href=n)}))}}))}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,i),a.exports}i.m=t,e=[],i.O=(t,n,o,a)=>{if(!n){var r=1/0;for(s=0;s<e.length;s++){for(var[n,o,a]=e[s],c=!0,d=0;d<n.length;d++)(!1&a||r>=a)&&Object.keys(i.O).every((e=>i.O[e](n[d])))?n.splice(d--,1):(c=!1,a<r&&(r=a));if(c){e.splice(s--,1);var l=o();void 0!==l&&(t=l)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[n,o,a]},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={790:0,891:0};i.O.j=t=>0===e[t];var t=(t,n)=>{var o,a,[r,c,d]=n,l=0;if(r.some((t=>0!==e[t]))){for(o in c)i.o(c,o)&&(i.m[o]=c[o]);if(d)var s=d(i)}for(t&&t(n);l<r.length;l++)a=r[l],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(s)},n=globalThis.webpackChunksite_mailer=globalThis.webpackChunksite_mailer||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=i.O(void 0,[891],(()=>i(932)));o=i.O(o)})();