@ventlio/tanstack-query 0.5.12 → 0.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/config/bootstrapQueryRequest.d.ts +6 -0
  2. package/dist/config/useEnvironmentVariables.d.ts +4 -0
  3. package/dist/helpers/index.d.ts +1 -0
  4. package/dist/helpers/result.d.ts +23 -0
  5. package/dist/index.mjs +368 -95
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/node_modules/@tanstack/react-store/dist/esm/index.js +1 -1
  8. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/cjs/use-sync-external-store-shim/with-selector.development.js +1 -1
  9. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
  10. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/cjs/use-sync-external-store-shim/with-selector.production.js +1 -1
  11. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
  12. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/cjs/use-sync-external-store-shim.development.js +1 -1
  13. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
  14. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/cjs/use-sync-external-store-shim.production.js +1 -1
  15. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  16. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/shim/index.js +1 -1
  17. package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
  18. package/dist/node_modules/{@tanstack/react-store/node_modules/use-sync-external-store → use-sync-external-store}/shim/with-selector.js +1 -1
  19. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
  20. package/dist/queries/useGetRequest.d.ts +12 -2
  21. package/dist/request/make-request.d.ts +12 -1
  22. package/dist/src/config/bootstrapQueryRequest.js +41 -1
  23. package/dist/src/config/bootstrapQueryRequest.js.map +1 -1
  24. package/dist/src/config/useEnvironmentVariables.js +35 -4
  25. package/dist/src/config/useEnvironmentVariables.js.map +1 -1
  26. package/dist/src/helpers/result.js +59 -0
  27. package/dist/src/helpers/result.js.map +1 -0
  28. package/dist/src/index.js +2 -1
  29. package/dist/src/index.js.map +1 -1
  30. package/dist/src/model/useQueryModel.js +1 -1
  31. package/dist/src/queries/useDeleteRequest.js +19 -14
  32. package/dist/src/queries/useDeleteRequest.js.map +1 -1
  33. package/dist/src/queries/useGetInfiniteRequest.js +17 -12
  34. package/dist/src/queries/useGetInfiniteRequest.js.map +1 -1
  35. package/dist/src/queries/useGetRequest.js +86 -28
  36. package/dist/src/queries/useGetRequest.js.map +1 -1
  37. package/dist/src/queries/usePatchRequest.js +19 -14
  38. package/dist/src/queries/usePatchRequest.js.map +1 -1
  39. package/dist/src/queries/usePostRequest.js +18 -13
  40. package/dist/src/queries/usePostRequest.js.map +1 -1
  41. package/dist/src/request/make-request.js +75 -6
  42. package/dist/src/request/make-request.js.map +1 -1
  43. package/dist/types/index.d.ts +24 -5
  44. package/package.json +2 -4
  45. package/src/config/bootstrapQueryRequest.ts +47 -2
  46. package/src/config/useEnvironmentVariables.ts +42 -4
  47. package/src/helpers/index.ts +1 -0
  48. package/src/helpers/result.ts +65 -0
  49. package/src/model/useQueryModel.ts +2 -2
  50. package/src/queries/useDeleteRequest.ts +18 -20
  51. package/src/queries/useGetInfiniteRequest.ts +17 -17
  52. package/src/queries/useGetRequest.ts +109 -33
  53. package/src/queries/usePatchRequest.ts +19 -16
  54. package/src/queries/usePostRequest.ts +18 -15
  55. package/src/queries/usePutRequest.ts +16 -15
  56. package/src/request/make-request.ts +112 -15
  57. package/src/types/index.ts +38 -4
  58. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  59. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  60. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  61. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  62. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  63. package/dist/node_modules/@tanstack/react-store/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
@@ -2,34 +2,126 @@ import type { AxiosRequestConfig, RawAxiosRequestHeaders } from 'axios';
2
2
  import axios from 'axios';
3
3
  import { axiosInstance } from './axios-instance';
4
4
 
5
+ import type { MiddlewareContext, MiddlewareFunction, MiddlewareNext } from '../types';
5
6
  import { ContentType, HttpMethod } from './request.enum';
6
7
  import type { IMakeRequest, IRequestError, IRequestSuccess } from './request.interface';
7
8
  import { errorTransformer, successTransformer } from './transformer';
8
9
 
9
- export async function makeRequest<TResponse>({
10
- body = {},
11
- method = HttpMethod.GET,
12
- path,
13
- isFormData,
14
- headers = {},
15
- baseURL,
16
- timeout,
17
- appFileConfig,
18
- onUploadProgress,
19
- }: IMakeRequest): Promise<IRequestSuccess<TResponse> | IRequestError> {
10
+ /**
11
+ * Execute a chain of middleware functions
12
+ */
13
+ export async function executeMiddlewareChain<T>(
14
+ middlewares: MiddlewareFunction[],
15
+ context: MiddlewareContext<T>,
16
+ finalHandler: MiddlewareNext<T>
17
+ ): Promise<IRequestSuccess<T> | IRequestError> {
18
+ // Create a chain of middleware functions
19
+ const chain = middlewares.reduceRight((next: MiddlewareNext<T>, middleware: MiddlewareFunction<T>) => {
20
+ return (options) => {
21
+ // Update context with new options if provided
22
+ const updatedContext = options ? { ...context, options: { ...context.options, ...options } } : context;
23
+ return middleware(updatedContext, next);
24
+ };
25
+ }, finalHandler);
26
+
27
+ // Execute the middleware chain
28
+ return await chain(undefined);
29
+ }
30
+
31
+ /**
32
+ * Make an HTTP request with middleware support
33
+ *
34
+ * @param requestOptions - Request options
35
+ * @param middlewares - Optional array of middleware functions
36
+ */
37
+ export async function makeRequest<TResponse>(
38
+ requestOptions: IMakeRequest,
39
+ middlewares?: MiddlewareFunction[]
40
+ ): Promise<IRequestSuccess<TResponse> | IRequestError> {
41
+ const {
42
+ body = {},
43
+ method = HttpMethod.GET,
44
+ path,
45
+ isFormData,
46
+ headers = {},
47
+ baseURL,
48
+ timeout,
49
+ appFileConfig,
50
+ onUploadProgress,
51
+ } = requestOptions;
52
+
20
53
  // check if file is included in mobile app environment and extract all file input to avoid
21
54
  // it being formatted to object using axios formData builder
22
55
  const isApp = appFileConfig?.isApp;
23
56
  const appFiles: Record<string, string> = isApp ? getAppFiles(body, appFileConfig.fileSelectors) : {};
24
57
 
25
58
  // configure body
26
- body = (isFormData ? axios.toFormData(body as FormData) : body) as FormData;
59
+ const processedBody = (isFormData ? axios.toFormData(body as FormData) : body) as FormData;
60
+
61
+ // configure request header
62
+ configureRequestHeader(isFormData, headers, isApp, appFiles, processedBody);
63
+
64
+ // Create the final handler that makes the actual request
65
+ const finalHandler: MiddlewareNext<TResponse> = async (options) => {
66
+ const finalRequestOptions = options
67
+ ? {
68
+ ...requestOptions,
69
+ body: processedBody,
70
+ ...options,
71
+ }
72
+ : {
73
+ ...requestOptions,
74
+ body: processedBody,
75
+ };
76
+
77
+ return await performRequest<TResponse>(finalRequestOptions);
78
+ };
79
+
80
+ // If middleware is available, execute the middleware chain
81
+ if (middlewares && middlewares.length > 0) {
82
+ const context: MiddlewareContext<TResponse> = {
83
+ baseUrl: baseURL,
84
+ path,
85
+ body: body as Record<string, any>,
86
+ method,
87
+ headers,
88
+ options: {
89
+ baseURL,
90
+ timeout,
91
+ path,
92
+ body: processedBody,
93
+ method,
94
+ isFormData,
95
+ headers,
96
+ appFileConfig,
97
+ onUploadProgress,
98
+ },
99
+ };
100
+
101
+ return await executeMiddlewareChain<TResponse>(middlewares, context, finalHandler);
102
+ }
27
103
 
28
- // configure request header1
29
- configureRequestHeader(isFormData, headers, isApp, appFiles, body);
104
+ // Otherwise, just make the request directly
105
+ return await finalHandler(undefined);
106
+ }
30
107
 
108
+ /**
109
+ * Perform the actual HTTP request
110
+ */
111
+ async function performRequest<TResponse>({
112
+ body,
113
+ method,
114
+ path,
115
+ isFormData,
116
+ headers,
117
+ baseURL,
118
+ timeout,
119
+ appFileConfig,
120
+ onUploadProgress,
121
+ }: IMakeRequest): Promise<IRequestSuccess<TResponse> | IRequestError> {
31
122
  try {
32
123
  const axiosRequest = axiosInstance({ baseURL, headers, timeout });
124
+ const isApp = appFileConfig?.isApp;
33
125
 
34
126
  const axiosRequestConfig: AxiosRequestConfig<Record<string, any>> = {
35
127
  url: path,
@@ -37,7 +129,12 @@ export async function makeRequest<TResponse>({
37
129
  onUploadProgress,
38
130
  };
39
131
 
40
- if (Object.keys(body).length > 0 || (isFormData && !isApp && [...body.keys()].length > 0)) {
132
+ // Check if body exists and is not null
133
+ if (
134
+ body &&
135
+ ((typeof body === 'object' && Object.keys(body).length > 0) ||
136
+ (isFormData && !isApp && body instanceof FormData && Array.from(body.keys()).length > 0))
137
+ ) {
41
138
  axiosRequestConfig.data = body;
42
139
  }
43
140
 
@@ -1,5 +1,30 @@
1
1
  import type { AxiosProgressEvent, RawAxiosRequestHeaders } from 'axios';
2
2
  import type { AppFileConfig, HttpMethod, IMakeRequest, IRequestError, IRequestSuccess } from '../request';
3
+ import type { IPagination } from '../queries';
4
+
5
+ // Enhanced middleware types
6
+ export type MiddlewareFunction<T = any> = (
7
+ context: MiddlewareContext<T>,
8
+ next: MiddlewareNext<T>
9
+ ) => Promise<IRequestError | IRequestSuccess<T>>;
10
+
11
+ export interface MiddlewareContext<T = any> {
12
+ baseUrl: string;
13
+ path: string;
14
+ body?: Record<string, any>;
15
+ method?: HttpMethod;
16
+ headers?: RawAxiosRequestHeaders;
17
+ options?: Partial<NextOptions>;
18
+ response?: IRequestError | IRequestSuccess<T>;
19
+ }
20
+
21
+ export type MiddlewareNext<T = any> = (options?: Partial<NextOptions>) => Promise<IRequestError | IRequestSuccess<T>>;
22
+
23
+ // Legacy middleware type for backward compatibility
24
+ export type LegacyMiddlewareFunction<T = any> = (
25
+ next: (options?: Partial<NextOptions>) => Promise<IRequestSuccess<T> | IRequestError>,
26
+ configs?: { baseUrl: string; path: string; body?: Record<string, any> }
27
+ ) => Promise<IRequestError | IRequestSuccess<T>>;
3
28
 
4
29
  export interface BootstrapConfig {
5
30
  environments?: {
@@ -8,10 +33,19 @@ export interface BootstrapConfig {
8
33
  };
9
34
  context?: ContextType;
10
35
  modelConfig?: BootstrapModelConfig;
11
- middleware?: <T = any>(
12
- next: (options?: Partial<NextOptions>) => Promise<IRequestSuccess<T> | IRequestError>,
13
- configs?: { baseUrl: string; path: string; body?: Record<string, any> }
14
- ) => Promise<IRequestError | IRequestSuccess<T>>;
36
+ // Support both new middleware array and legacy middleware function
37
+ middleware?: MiddlewareFunction[] | LegacyMiddlewareFunction;
38
+ // Custom pagination configuration
39
+ pagination?: PaginationConfig;
40
+ }
41
+
42
+ export interface PaginationConfig {
43
+ // Function to extract pagination data from response
44
+ extractPagination?: <T>(response: IRequestSuccess<T>) => IPagination | undefined;
45
+ // Function to build pagination URL
46
+ buildPaginationUrl?: (url: string, page: number) => string;
47
+ // Default page parameter name
48
+ pageParamName?: string;
15
49
  }
16
50
 
17
51
  export interface NextOptions extends Partial<IMakeRequest> {
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.development.js","sources":["../../../../../../../../node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["require$$1"],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,CAAA,YAAY,KAAK,OAAO,CAAC,GAAG,CAAC,QAAQ;AACrC,GAAE,CAAC,YAAY;AACf,KAAI,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;OAChB,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;MAC1E;KACD,WAAW,KAAK,OAAO,8BAA8B;AACzD,OAAM,UAAU;SACR,OAAO,8BAA8B,CAAC,2BAA2B;AACzE,OAAM,8BAA8B,CAAC,2BAA2B,CAAC,KAAK,EAAE,CAAC,CAAC;KACtE,IAAI,KAAK,GAAG,UAAgB;OAC1B,IAAI,GAAGA,WAAuC,EAAA;AACpD,OAAM,QAAQ,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,GAAG,EAAE;AACjE,OAAM,oBAAoB,GAAG,IAAI,CAAC,oBAAoB;AACtD,OAAM,MAAM,GAAG,KAAK,CAAC,MAAM;AAC3B,OAAM,SAAS,GAAG,KAAK,CAAC,SAAS;AACjC,OAAM,OAAO,GAAG,KAAK,CAAC,OAAO;AAC7B,OAAM,aAAa,GAAG,KAAK,CAAC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AAC,CAAC;AACzE,IAAG,GAAG,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.production.js","sources":["../../../../../../../../node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"names":["require$$1"],"mappings":";;;;;;;;;;;;;;;;;;;CAWA,IAAI,KAAK,GAAG,UAAgB;GAC1B,IAAI,GAAGA,WAAA,EAAuC,CAAC;AACjD,CAAA,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;GAChB,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;EAC1E;AACD,CAAA,IAAI,QAAQ,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,GAAG,EAAE;AAC/D,GAAE,oBAAoB,GAAG,IAAI,CAAC,oBAAoB;AAClD,GAAE,MAAM,GAAG,KAAK,CAAC,MAAM;AACvB,GAAE,SAAS,GAAG,KAAK,CAAC,SAAS;AAC7B,GAAE,OAAO,GAAG,KAAK,CAAC,OAAO;AACzB,GAAE,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;AACtC,CAAA,uBAAA,CAAA,gCAAwC,GAAG;AAC3C,GAAE,SAAS;AACX,GAAE,WAAW;AACb,GAAE,iBAAiB;AACnB,GAAE,QAAQ;AACV,GAAE,OAAO;GACP;AACF,GAAE,IAAI,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;AAC7B,GAAE,IAAI,IAAI,KAAK,OAA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AACxB,SAAQ,iBAAiB;AACzB,SAAQ,sBAAsB;WACpB,KAAK,CAAC,KAAK,iBAAiB,GAAG,IAAI,GAAG,iBAAiB,CAAC;AAClE,OAAM,OAAO;AACb,SAAQ,YAAY;AACpB,WAAU,OAAO,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC;UACxC;SACD,IAAI,KAAK,sBAAsB;AACvC,aAAY,KAAK,CAAC;AAClB,aAAY,YAAY;AACxB,eAAc,OAAO,gBAAgB,CAAC,sBAAsB,EAAE,CAAC,CAAC;cACnD;AACb,QAAO,CAAC;MACH;KACD,CAAC,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,CAAC;AACvD,IAAG,CAAC;AACJ,GAAE,IAAI,KAAK,GAAG,oBAAoB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,GAAE,SAAS;AACX,KAAI,YAAY;AAChB,OAAM,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;AACzB,OAAM,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;MACpB;KACD,CAAC,KAAK,CAAC;AACX,IAAG,CAAC;AACJ,GAAE,aAAa,CAAC,KAAK,CAAC,CAAC;GACrB,OAAO,KAAK,CAAC;EACd,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.development.js","sources":["../../../../../../../node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAWA,CAAA,YAAY,KAAK,OAAO,CAAC,GAAG,CAAC,QAAQ;AACrC,GAAE,CAAC,YAAY;AACf,KAAI,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;OAChB,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;MAC1E;AACL,KAAI,SAAS,sBAAsB,CAAC,SAAS,EAAE,WAAW,EAAE;AAC5D,OAAM,iBAAiB;AACvB,SAAQ,KAAK,CAAC,KAAK,KAAK,CAAC,eAAe;AACxC,UAAS,CAAC,iBAAiB,GAAG,CAAC,CAAC;SACxB,OAAO,CAAC,KAAK;AACrB,WAAU,gMAAgM;AAC1M,UAAS,CAAC,CAAC;AACX,OAAM,IAAI,KAAK,GAAG,WAAW,EAAE,CAAC;OAC1B,IAAI,CAAC,0BAA0B,EAAE;AACvC,SAAQ,IAAI,WAAW,GAAG,WAAW,EAAE,CAAC;AACxC,SAAQ,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;YACzB,OAAO,CAAC,KAAK;AACxB,aAAY,sEAAsE;YACvE;AACX,YAAW,0BAA0B,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACtC;OACD,WAAW,GAAG,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":"use-sync-external-store-shim.production.js","sources":["../../../../../../../node_modules/@tanstack/react-store/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;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/@tanstack/react-store/node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;AACA;AACA,EAAA,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;IACzC,MAAA,CAAA,OAAA,GAAiBA,4CAA4D,CAAC;AAChF,GAAC,MAAM;IACL,MAAA,CAAA,OAAA,GAAiBC,6CAA6D,CAAC;AACjF,GAAA;;;;;;;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.js","sources":["../../../../../../../node_modules/@tanstack/react-store/node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;AACA;AACA,CAAA,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;GACzC,MAAA,CAAA,OAAA,GAAiBA,gCAA0E,CAAC;AAC9F,EAAC,MAAM;GACL,MAAA,CAAA,OAAA,GAAiBC,iCAA2E,CAAC;AAC/F,EAAA;","x_google_ignoreList":[0]}