(()=>{"use strict";window.lodash,window.wp.compose,window.ReactJSXRuntime,document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".smb-panels__item--horizontal");[].slice.call(t).forEach((t=>{const e=t.querySelector(".smb-panels__item__action > a");!function(t,e){let n,r;e&&(t.addEventListener("pointerdown",(t=>{t.stopPropagation(),n=+new Date})),t.addEventListener("pointerup",(t=>{if(t.stopPropagation(),0!==t.button)return!1;if(["A","BUTTON","INPUT","SELECT","TEXTAREA"].includes(t.target?.tagName))return!1;if(r=+new Date,r-n<200)if(t.shiftKey||t.ctrlKey||t.metaKey){const t=e.getAttribute("target"),n=e.getAttribute("rel");e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"),e.click(),e.setAttribute("target",t||""),e.setAttribute("rel",n||"")}else e.click()})))}(t,e)}))}))})();