(()=>{"use strict";var e={311:e=>{e.exports=jQuery}},t={};function r(l){var o=t[l];if(void 0!==o)return o.exports;var i=t[l]={exports:{}};return e[l](i,i.exports,r),i.exports}(()=>{const e=(e,t,r,l=null)=>{(l||document).addEventListener(e,(e=>{let l=document.querySelectorAll(t);if(l){for(var o=e.target,i=-1;o&&-1===(i=Array.prototype.indexOf.call(l,o));)o=o.parentElement;i>-1&&r.call(o,e)}}))},t=r(311);document.addEventListener("DOMContentLoaded",(()=>{e("click","a.hide-review-notice-soft",(e=>{var r;e.preventDefault();let l=e.target.closest(".ac-notice");if(l){null===(r=l.querySelector(".info"))||void 0===r||r.remove();let e=null==l?void 0:l.querySelector(".help");e&&(e.style.display="block"),t.post(ajaxurl,JSON.parse(l.dataset.dismissibleCallback||""))}})),e("click","a.hide-review-notice",(e=>{var t,r;e.preventDefault(),null===(r=null===(t=e.target.closest(".ac-notice"))||void 0===t?void 0:t.querySelector(".notice-dismiss"))||void 0===r||r.dispatchEvent(new Event("click"))}))}))})()})();