This commit is contained in:
2026-11-02 12:42:04 +00:00
commit e4e28174bf
5498 changed files with 1735888 additions and 0 deletions

23
node_modules/.vite/deps/reactive-value-BNDpYQtD.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
import { t as createSubscriber } from "./create-subscriber-C6AIq2F7.js";
// node_modules/svelte/src/reactivity/reactive-value.js
/**
* @template T
*/
var ReactiveValue = class {
#fn;
#subscribe;
/**
*
* @param {() => T} fn
* @param {(update: () => void) => void} onsubscribe
*/
constructor(fn, onsubscribe) {
this.#fn = fn;
this.#subscribe = createSubscriber(onsubscribe);
}
get current() {
this.#subscribe();
return this.#fn();
}
};
export { ReactiveValue as t };