"use strict";(globalThis.webpackChunkmoowoodle=globalThis.webpackChunkmoowoodle||[]).push([[736],{14479:(t,e,s)=>{s.d(e,{v:()=>l});var n=s(51609);const o=t=>{let e;const s=new Set,n=(t,n)=>{const o="function"==typeof t?t(e):t;if(!Object.is(o,e)){const t=e;e=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},e,o),s.forEach(s=>s(e,t))}},o=()=>e,a={setState:n,getState:o,getInitialState:()=>c,subscribe:t=>(s.add(t),()=>s.delete(t))},c=e=t(n,o,a);return a},a=t=>t,c=t=>{const e=(t=>t?o(t):o)(t),s=t=>function(t,e=a){const s=n.useSyncExternalStore(t.subscribe,n.useCallback(()=>e(t.getState()),[t,e]),n.useCallback(()=>e(t.getInitialState()),[t,e]));return n.useDebugValue(s),s}(e,t);return Object.assign(s,e),s},l=t=>t?c(t):c}}]);