"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="%";class s{instanceId;constructor(e){this.instanceId=e}cache=new Map;get(e){return this.cache.get(Array.isArray(e)?e.join(c):e)||null}update(e,n){const t=Array.isArray(e)?e.join(c):e,r=this.cache.get(t),a=n(r);a===null?this.cache.delete(t):this.cache.set(t,a)}}exports.default=s;
