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