"use strict";let registry=[],watchedIcons=[];function getIconLibrary(r){return registry.filter((e=>e.name===r))[0]}function registerIconLibrary(r,e){unregisterIconLibrary(r),registry.push({name:r,resolver:e.resolver,mutator:e.mutator}),watchedIcons.map((e=>{e.library===r&&e.redraw()}))}function unregisterIconLibrary(r){registry=registry.filter((e=>e.name!==r))}window.ceRegisterIconLibrary=registerIconLibrary,exports.getIconLibrary=getIconLibrary,exports.registerIconLibrary=registerIconLibrary;