PageSourceSearch

https://mindful-path-12ba3bf7.base44.app/static/create-zustand-store-BANj7DdM.js

js mindful-path-12ba3bf7.base44.app collected 2026-10-03 03:16:14 UTC 1,357 bytes, 1 lines download raw bytes

1import{B as e,H as t,R as n,V as r,z as i}from"./vendor-data-D4IPhVFk.js";var a=e=>`use${e.charAt(0).toUpperCase()+e.slice(1)}`,o=e=>typeof e==`string`&&e.startsWith(`use`)&&e.length>3,s=e=>e.slice(3).charAt(0).toLowerCase()+e.slice(4),c=e=>typeof e==`string`&&e.startsWith(`update`)&&e.length>3,l=e=>e.slice(6).charAt(0).toLowerCase()+e.slice(7),u=e=>t=>Object.keys(e).reduce((n,r)=>({...n,[r]:(...n)=>e[r](t,...n),[a(r)]:(...n)=>t(t=>e[r](t,...n))}),{}),d=(...e)=>t=>e.reduce((e,n)=>({...e,[n]:t[n]}),{}),f=`_b44_debug`,p=()=>typeof window<`u`,m=()=>window.location.hostname===`localhost`,h=()=>new URLSearchParams(window.location.search).has(f),g=()=>{try{return window.localStorage.getItem(f)!==null}catch{return!1}},_=()=>p()&&(m()||h()||g()),v=(a,u={},f)=>{let p={...a,...u},m=_(),h=f?.name??Object.keys(a).slice(0,3).join(`, `),g=t(e(r(i(()=>({...p}))),{enabled:m&&!!f?.name,name:h}),n),v=Object.assign(g,{useStore:g,usePick:(...e)=>g(d(...e)),reset:()=>g.setState(()=>({...a}))}),y={},b=new Proxy(v,{get(e,t){if(t in e)return e[t];if(t in y)return y[t];if(o(t)){let n=s(t);return()=>e(e=>e[n])}if(c(t)){let n=l(t);return t=>{e.setState(e=>{t(e[n])})}}return e.getState()[t]},set(e,t,n){if(t)return e.setState(e=>{e[t]=n}),!0}});return b.use=(e=>{let t=typeof e==`function`?e(b):e;return Object.assign(y,t),b}),b};export{u as i,_ as n,d as r,v as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.