"use strict";(self.webpackChunk_articulate_ai_scenarios_bundles=self.webpackChunk_articulate_ai_scenarios_bundles||[]).push([[5825,8206],{15825(e,t,s){s.r(t),s.d(t,{create:()=>o,createStore:()=>a,useStore:()=>l});const n=e=>{let t;const s=new Set,n=(e,n)=>{const a="function"==typeof e?e(t):e;if(!Object.is(a,t)){const e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),s.forEach(s=>s(t,e))}},a=()=>t,c={setState:n,getState:a,getInitialState:()=>u,subscribe:e=>(s.add(e),()=>s.delete(e))},u=t=e(n,a,c);return c},a=e=>e?n(e):n;var c=s(51435),u=s.n(c);const r=e=>e;function l(e,t=r){const s=u().useSyncExternalStore(e.subscribe,u().useCallback(()=>t(e.getState()),[e,t]),u().useCallback(()=>t(e.getInitialState()),[e,t]));return u().useDebugValue(s),s}const i=e=>{const t=a(e),s=e=>l(t,e);return Object.assign(s,t),s},o=e=>e?i(e):i}}]);