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