Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

9
node_modules/@mantine/store/cjs/index.cjs generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
var store = require('./store.cjs');
exports.createStore = store.createStore;
exports.useStore = store.useStore;
//# sourceMappingURL=index.cjs.map

1
node_modules/@mantine/store/cjs/index.cjs.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}

43
node_modules/@mantine/store/cjs/store.cjs generated vendored Normal file
View File

@@ -0,0 +1,43 @@
'use client';
'use strict';
var react = require('react');
function createStore(initialState) {
let state = initialState;
let initialized = false;
const listeners = /* @__PURE__ */ new Set();
return {
getState() {
return state;
},
updateState(value) {
state = typeof value === "function" ? value(state) : value;
},
setState(value) {
this.updateState(value);
listeners.forEach((listener) => listener(state));
},
initialize(value) {
if (!initialized) {
state = value;
initialized = true;
}
},
subscribe(callback) {
listeners.add(callback);
return () => listeners.delete(callback);
}
};
}
function useStore(store) {
return react.useSyncExternalStore(
store.subscribe,
() => store.getState(),
() => store.getState()
);
}
exports.createStore = createStore;
exports.useStore = useStore;
//# sourceMappingURL=store.cjs.map

1
node_modules/@mantine/store/cjs/store.cjs.map generated vendored Normal file

File diff suppressed because one or more lines are too long