(t=>{"use strict";t.body.tfOn("click",(n=>{const c=n.target&&!n.target.closest("a")?n.target.closest("[data-tb_link]"):null;if(c){n.preventDefault();const i=t.createElement("a");i.href=c.dataset.tb_link,c.dataset.tb_link_new?i.target="_blank":c.dataset.tb_lb&&(i.className="themify_lightbox",c.dataset.zoomConfig&&(i.dataset.zoomConfig=c.dataset.zoomConfig)),i.style.display="none",t.body.appendChild(i),i.click(),c.dataset.tb_lb||i.remove()}}))})(document);