import{eventScopedCache as o}from"../../../../tools/event-scoped-cache.js";const t=o();exportfunctionregisterLayerImages(e,r){returnt().set(e,r),()=>{t().get(e)===r&&t().delete(e)}}exportfunctioninvokeLayerImages(){return[...t().values()].map(e=>e())}