const t=["data-tracking-style","data-tracking-topic","data-tracking-context","data-tracking-id"],a=(t,a=[])=>{const n={};return a.forEach((a=>{t.hasAttribute(a)&&(null!==t.getAttribute(a)&&(n[a]=t.getAttribute(a)),t.removeAttribute(a))})),n},n=n=>a(n,t);export{n as a,a as i}