/*!
 * KoliBri - The accessible HTML-Standard
 */
let currentLocation;const subscribers=[],setCurrentLocation=r=>{currentLocation=r,subscribers.forEach((s=>{s(r)}))},onLocationChange=(r,s=!0)=>(s&&"string"==typeof currentLocation&&r(currentLocation),subscribers.push(r),()=>{const s=subscribers.indexOf(r);s>=0&&subscribers.splice(s,1)});export{onLocationChange as o,setCurrentLocation as s};