import{s as e}from"./vendor-BfiCheAv.js";var t={link:!0,listType:`ol`,listClassName:`acms-ol`,itemClassName:`acms-ol-item`,linkClassName:`scrollTo`,anchorName:`heading-$1`,exceptClass:`js-except`,levelLimit:5},n=(n,r={})=>{requestAnimationFrame(()=>{let i=n.getAttribute(`data-target`);if(!i||!document.querySelector(i))return;let a=new e(n),o={};Object.keys(t).forEach(e=>{let t=n.getAttribute(`data-${e}`);t&&(isNaN(t)===!1&&(t=parseInt(t,10)),(t===`true`||t===`false`)&&(t=t===`true`),o[e]=t)}),a.makeList(i,{...t,...r,...o})})};export{n as default};