"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStore=function(e,t){let r=e(),a=new Set;return{getSnapshot:()=>r,subscribe:e=>(a.add(e),()=>a.delete(e)),dispatch(e){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];let l=t[e].call(r,...s);l&&(r=l,a.forEach((e=>e())))}}};
//# sourceMappingURL=store.js.map
