/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@namnode/store@0.1.0/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";function f(e){let t,r=new Set,a=!1,i=e,c=()=>{if(a)return;let e=!1;if(t)for(let r in t)if(i[r]!==t[r]){e=!0;break}e&&(i={...i,...t},r.forEach((e=>e({state:i,updatedProperties:t}))),t=void 0)};return{subscribe:e=>(r.add(e),()=>{r.delete(e)}),cleanup:()=>r.clear(),getState:()=>i,setState:(e={})=>{t={...t,...e},c()},batch:e=>{a=!0,e(),a=!1,c()}}}exports.createStore=f;
//# sourceMappingURL=/sm/a0a04d415d17c01d5f04df1055b5e64f21a9f6c0294982f94c5befe71c9e5d02.map