jQuery(document).ready(function(v){var f=window.privacyToolsL10n||{};function h(e,t){e.children().addClass("hidden"),e.children("."+t).removeClass("hidden")}function g(e){e.removeClass("has-request-results"),e.next().hasClass("request-results")&&e.next().remove()}function x(e,t,a,n){var o="",s="request-results";g(e),n.length&&(v.each(n,function(e,t){o=o+"
  • "+t+"
  • "}),o=""),e.addClass("has-request-results"),e.hasClass("status-request-confirmed")&&(s+=" status-request-confirmed"),e.hasClass("status-request-failed")&&(s+=" status-request-failed"),e.after(function(){return'

    '+a+"

    "+o+"
    "})}v(".export-personal-data-handle").click(function(e){var r=v(this),i=r.parents(".export-personal-data"),d=r.parents("tr"),t=i.data("request-id"),a=i.data("nonce"),c=i.data("exporters-count"),l=!!i.data("send-as-email");function u(e){h(i,"export-personal-data-failed"),e&&x(d,"notice-error",f.exportError,[e])}e.preventDefault(),e.stopPropagation(),i.blur(),g(d),h(i,"export-personal-data-processing"),function n(o,s){v.ajax({url:window.ajaxurl,data:{action:"wp-privacy-export-personal-data",exporter:o,id:t,page:s,security:a,sendAsEmail:l},method:"post"}).done(function(e){var t,a=e.data;e.success?a.done?o