zudoku 0.53.3 → 0.53.4

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 (62) hide show
  1. package/dist/lib/plugins/openapi/OperationList.js +2 -1
  2. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  3. package/lib/{Alert-FYKbqjIt.js → Alert-SijAp9LN.js} +3 -3
  4. package/lib/Alert-SijAp9LN.js.map +1 -0
  5. package/lib/{MdxPage-DyRuoE_F.js → MdxPage-BFKqQsmK.js} +8 -8
  6. package/lib/{MdxPage-DyRuoE_F.js.map → MdxPage-BFKqQsmK.js.map} +1 -1
  7. package/lib/{OasProvider-CUA-DFGE.js → OasProvider-Bdyvd6Ic.js} +2 -2
  8. package/lib/{OasProvider-CUA-DFGE.js.map → OasProvider-Bdyvd6Ic.js.map} +1 -1
  9. package/lib/{OperationList-CRMvWoTv.js → OperationList-YZ7k-Rkt.js} +172 -172
  10. package/lib/{OperationList-CRMvWoTv.js.map → OperationList-YZ7k-Rkt.js.map} +1 -1
  11. package/lib/{Pagination-HZKe5ncg.js → Pagination-EViy7EHt.js} +2 -2
  12. package/lib/{Pagination-HZKe5ncg.js.map → Pagination-EViy7EHt.js.map} +1 -1
  13. package/lib/{RouteGuard-CbKd7_9h.js → RouteGuard-CX6A77iy.js} +2 -2
  14. package/lib/{RouteGuard-CbKd7_9h.js.map → RouteGuard-CX6A77iy.js.map} +1 -1
  15. package/lib/{SchemaList-B792ORza.js → SchemaList--_f8Azv0.js} +8 -8
  16. package/lib/{SchemaList-B792ORza.js.map → SchemaList--_f8Azv0.js.map} +1 -1
  17. package/lib/{SchemaView-Bo53TeMb.js → SchemaView-7XWvSrbX.js} +4 -4
  18. package/lib/{SchemaView-Bo53TeMb.js.map → SchemaView-7XWvSrbX.js.map} +1 -1
  19. package/lib/{SignUp-DfVvOCYB.js → SignUp-CXCezG-m.js} +3 -3
  20. package/lib/{SignUp-DfVvOCYB.js.map → SignUp-CXCezG-m.js.map} +1 -1
  21. package/lib/{Slot-BpO_AGKJ.js → Slot-tFjhrd8V.js} +3 -3
  22. package/lib/{Slot-BpO_AGKJ.js.map → Slot-tFjhrd8V.js.map} +1 -1
  23. package/lib/{SyntaxHighlight-CZgjJ7-f.js → SyntaxHighlight-Bp_UsIXG.js} +2 -2
  24. package/lib/{SyntaxHighlight-CZgjJ7-f.js.map → SyntaxHighlight-Bp_UsIXG.js.map} +1 -1
  25. package/lib/{Toc-DYMzDvOa.js → Toc-Ck0YQtmd.js} +2 -2
  26. package/lib/{Toc-DYMzDvOa.js.map → Toc-Ck0YQtmd.js.map} +1 -1
  27. package/lib/{circular-CLdQ0oUd.js → circular-BtKlhs07.js} +2 -2
  28. package/lib/{circular-CLdQ0oUd.js.map → circular-BtKlhs07.js.map} +1 -1
  29. package/lib/{createServer-Co4BBP-i.js → createServer-Di2U1Dg0.js} +4 -4
  30. package/lib/{createServer-Co4BBP-i.js.map → createServer-Di2U1Dg0.js.map} +1 -1
  31. package/lib/{errors-DE1gK7ms.js → errors-Dv_yAK6M.js} +4 -4
  32. package/lib/{errors-DE1gK7ms.js.map → errors-Dv_yAK6M.js.map} +1 -1
  33. package/lib/{hook-Bd0yS8M0.js → hook-CZjW2buS.js} +420 -413
  34. package/lib/hook-CZjW2buS.js.map +1 -0
  35. package/lib/{index-DYP-V0jG.js → index-BTqwnlI5.js} +13 -13
  36. package/lib/{index-DYP-V0jG.js.map → index-BTqwnlI5.js.map} +1 -1
  37. package/lib/index-Bm35Tkgf.js +107 -0
  38. package/lib/index-Bm35Tkgf.js.map +1 -0
  39. package/lib/{index-DLzZDv8_.js → index-CeQqiMIG.js} +2 -2
  40. package/lib/{index-DLzZDv8_.js.map → index-CeQqiMIG.js.map} +1 -1
  41. package/lib/{index-DLshv89l.js → index-DKCEJ4Kd.js} +685 -684
  42. package/lib/index-DKCEJ4Kd.js.map +1 -0
  43. package/lib/ui/SyntaxHighlight.js +2 -2
  44. package/lib/zudoku.auth-auth0.js +1 -1
  45. package/lib/zudoku.auth-azureb2c.js +2 -2
  46. package/lib/zudoku.auth-clerk.js +2 -2
  47. package/lib/zudoku.auth-openid.js +2 -2
  48. package/lib/zudoku.components.js +5 -5
  49. package/lib/zudoku.hooks.js +3 -3
  50. package/lib/zudoku.plugin-api-catalog.js +5 -5
  51. package/lib/zudoku.plugin-api-keys.js +3 -3
  52. package/lib/zudoku.plugin-custom-pages.js +1 -1
  53. package/lib/zudoku.plugin-markdown.js +1 -1
  54. package/lib/zudoku.plugin-openapi.js +2 -2
  55. package/lib/zudoku.plugin-search-pagefind.js +2 -2
  56. package/package.json +6 -6
  57. package/src/lib/plugins/openapi/OperationList.tsx +3 -1
  58. package/lib/Alert-FYKbqjIt.js.map +0 -1
  59. package/lib/hook-Bd0yS8M0.js.map +0 -1
  60. package/lib/index-ClhS5TxS.js +0 -107
  61. package/lib/index-ClhS5TxS.js.map +0 -1
  62. package/lib/index-DLshv89l.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import "../jsx-runtime-C5mzlN2N.js";
2
2
  import "react";
3
- import "../hook-Bd0yS8M0.js";
4
- import { S as h } from "../SyntaxHighlight-CZgjJ7-f.js";
3
+ import "../hook-CZjW2buS.js";
4
+ import { S as h } from "../SyntaxHighlight-Bp_UsIXG.js";
5
5
  import "../invariant-DAFpPywt.js";
6
6
  import "../CodeBlock-DAKxs_Tu.js";
7
7
  import "./EmbeddedCodeBlock.js";
@@ -1,4 +1,4 @@
1
- import { u as o } from "./hook-Bd0yS8M0.js";
1
+ import { u as o } from "./hook-CZjW2buS.js";
2
2
  import { OpenIDAuthenticationProvider as r } from "./zudoku.auth-openid.js";
3
3
  class a extends r {
4
4
  constructor(e) {
@@ -1,7 +1,7 @@
1
1
  import { j as To } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { C as ca } from "./ClientOnly-E7hGysn1.js";
3
- import { j as la, u as Ao } from "./hook-Bd0yS8M0.js";
4
- import { C as ha, A as $t, a as da } from "./errors-DE1gK7ms.js";
3
+ import { j as la, u as Ao } from "./hook-CZjW2buS.js";
4
+ import { C as ha, A as $t, a as da } from "./errors-Dv_yAK6M.js";
5
5
  /*! @azure/msal-common v15.7.1 2025-06-18 */
6
6
  const d = {
7
7
  LIBRARY_NAME: "MSAL.JS",
@@ -1,7 +1,7 @@
1
1
  import { j as l } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { LogOutIcon as g } from "lucide-react";
3
- import { S as f, a as w, b as p } from "./SignUp-DfVvOCYB.js";
4
- import { u as n } from "./hook-Bd0yS8M0.js";
3
+ import { S as f, a as w, b as p } from "./SignUp-CXCezG-m.js";
4
+ import { u as n } from "./hook-CZjW2buS.js";
5
5
  const y = ({
6
6
  clerkPubKey: d,
7
7
  redirectToAfterSignOut: c = "/",
@@ -1,8 +1,8 @@
1
1
  import { j as ne } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { g as Le } from "./invariant-DAFpPywt.js";
3
3
  import { C as Ue } from "./ClientOnly-E7hGysn1.js";
4
- import { j as xe, u as S } from "./hook-Bd0yS8M0.js";
5
- import { C as Ce, O as re, A as R, a as Ie } from "./errors-DE1gK7ms.js";
4
+ import { j as xe, u as S } from "./hook-CZjW2buS.js";
5
+ import { C as Ce, O as re, A as R, a as Ie } from "./errors-Dv_yAK6M.js";
6
6
  var O = { exports: {} }, je = O.exports, oe;
7
7
  function De() {
8
8
  return oe || (oe = 1, function(t) {
@@ -1,9 +1,9 @@
1
- import "./RouteGuard-CbKd7_9h.js";
2
- import "./index-ClhS5TxS.js";
1
+ import "./RouteGuard-CX6A77iy.js";
2
+ import "./index-Bm35Tkgf.js";
3
3
  import "./chunk-DQRVZFIR-DHK7_Ilc.js";
4
- import "./hook-Bd0yS8M0.js";
5
- import "./Slot-BpO_AGKJ.js";
6
- import { e as C, f as d, j as h, B as k, m as l, C as S, i as B, H as c, c as y, L as E, M as g, g as H, R as L, d as M, S as R, h as T, T as Z, Z as f, b as A, l as b, k as j, n as v, u as w } from "./index-DLshv89l.js";
4
+ import "./hook-CZjW2buS.js";
5
+ import "./Slot-tFjhrd8V.js";
6
+ import { e as C, f as d, j as h, B as k, m as l, C as S, i as B, H as c, c as y, L as E, M as g, g as H, R as L, d as M, S as R, h as T, T as Z, Z as f, b as A, l as b, k as j, n as v, u as w } from "./index-DKCEJ4Kd.js";
7
7
  import "./ui/Button.js";
8
8
  import "./ui/Callout.js";
9
9
  import "./ClientOnly-E7hGysn1.js";
@@ -1,6 +1,6 @@
1
- import { z as p, u as a } from "./index-ClhS5TxS.js";
2
- import { d as n, e as c, f } from "./hook-Bd0yS8M0.js";
3
- import { C as k } from "./hook-Bd0yS8M0.js";
1
+ import { z as p, u as a } from "./index-Bm35Tkgf.js";
2
+ import { d as n, e as c, f } from "./hook-CZjW2buS.js";
3
+ import { C as k } from "./hook-CZjW2buS.js";
4
4
  import { u as d } from "./useExposedProps-BIYjecPD.js";
5
5
  import { useState as E, useEffect as i } from "react";
6
6
  function C(e, s) {
@@ -1,10 +1,10 @@
1
1
  import { j as t } from "./jsx-runtime-C5mzlN2N.js";
2
- import { s as f } from "./index-DLzZDv8_.js";
2
+ import { s as f } from "./index-CeQqiMIG.js";
3
3
  import { d as b, m as j } from "./chunk-DQRVZFIR-DHK7_Ilc.js";
4
- import { u as x, c as v, j as d } from "./hook-Bd0yS8M0.js";
5
- import { H as y } from "./RouteGuard-CbKd7_9h.js";
6
- import { L as N } from "./index-DLshv89l.js";
7
- import { H as k, M as S } from "./Slot-BpO_AGKJ.js";
4
+ import { u as x, c as v, j as d } from "./hook-CZjW2buS.js";
5
+ import { H as y } from "./RouteGuard-CX6A77iy.js";
6
+ import { L as N } from "./index-DKCEJ4Kd.js";
7
+ import { H as k, M as S } from "./Slot-tFjhrd8V.js";
8
8
  const w = ({
9
9
  items: n,
10
10
  filterCatalogItems: o = (r) => r,
@@ -1,11 +1,11 @@
1
1
  import { j as e } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { CircleSlashIcon as M, CheckIcon as W, XIcon as ae, PencilLineIcon as oe, RefreshCwIcon as le, EyeOffIcon as ce, EyeIcon as de, CopyIcon as ue, TrashIcon as he, KeyRoundIcon as fe } from "lucide-react";
3
- import { D as pe, a as B, R as me } from "./Slot-BpO_AGKJ.js";
3
+ import { D as pe, a as B, R as me } from "./Slot-tFjhrd8V.js";
4
4
  import { i as D } from "./invariant-DAFpPywt.js";
5
5
  import { O as xe, L as J } from "./chunk-DQRVZFIR-DHK7_Ilc.js";
6
- import { e as ye, d as ge, g as je, c as Ce } from "./hook-Bd0yS8M0.js";
6
+ import { e as ye, d as ge, g as je, c as Ce } from "./hook-CZjW2buS.js";
7
7
  import { Button as j } from "./ui/Button.js";
8
- import { u as S, A as q, a as L } from "./Alert-FYKbqjIt.js";
8
+ import { u as S, A as q, a as L } from "./Alert-SijAp9LN.js";
9
9
  import * as F from "react";
10
10
  import we, { createContext as O, useRef as N, useLayoutEffect as ve, useEffect as X, useId as Q, useContext as H, useInsertionEffect as ke, useMemo as $, useCallback as be, Children as Ee, isValidElement as Ne, useState as P } from "react";
11
11
  import { C as Pe, a as De } from "./Card-DPhGbYUM.js";
@@ -1,4 +1,4 @@
1
- import { t as o } from "./hook-Bd0yS8M0.js";
1
+ import { t as o } from "./hook-CZjW2buS.js";
2
2
  const n = (s = []) => ({
3
3
  getRoutes: () => {
4
4
  const e = [];
@@ -4,7 +4,7 @@ const m = (t) => ({
4
4
  ([e, n]) => ({
5
5
  path: e,
6
6
  lazy: async () => {
7
- const { MdxPage: o } = await import("./MdxPage-DyRuoE_F.js"), { default: a, ...r } = await n();
7
+ const { MdxPage: o } = await import("./MdxPage-BFKqQsmK.js"), { default: a, ...r } = await n();
8
8
  return {
9
9
  element: /* @__PURE__ */ s.jsx(
10
10
  o,
@@ -1,9 +1,9 @@
1
1
  import "./jsx-runtime-C5mzlN2N.js";
2
2
  import "lucide-react";
3
3
  import "./chunk-DQRVZFIR-DHK7_Ilc.js";
4
- import "./hook-Bd0yS8M0.js";
4
+ import "./hook-CZjW2buS.js";
5
5
  import "./ui/Button.js";
6
- import { E as e, U as n, F as s } from "./index-DYP-V0jG.js";
6
+ import { E as e, U as n, F as s } from "./index-BTqwnlI5.js";
7
7
  export {
8
8
  e as GetNavigationOperationsQuery,
9
9
  n as UNTAGGED_PATH,
@@ -1,14 +1,14 @@
1
1
  import { j as e } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import { C as v } from "./ClientOnly-E7hGysn1.js";
3
3
  import { VisuallyHidden as I } from "@radix-ui/react-visually-hidden";
4
- import { j as k, u as N, d as j, l as C, m as L } from "./hook-Bd0yS8M0.js";
4
+ import { j as k, u as N, d as j, l as C, m as L } from "./hook-CZjW2buS.js";
5
5
  import { useRef as S, useLayoutEffect as T, useState as E } from "react";
6
6
  import { B as R } from "./Button-BE9IVkWV.js";
7
7
  import { ShieldAlertIcon as F, AlertTriangleIcon as q, InfoIcon as b, LightbulbIcon as z, BracketsIcon as A, FileTextIcon as P } from "lucide-react";
8
8
  import { c as u } from "./cn-wvCW-ho6.js";
9
9
  import { C as $, a as f, b as h, c as D, d as B, e as O } from "./Command-xsbs2uhf.js";
10
10
  import { b as U } from "./Dialog-CiIdyz6a.js";
11
- import { S as G } from "./RouteGuard-CbKd7_9h.js";
11
+ import { S as G } from "./RouteGuard-CX6A77iy.js";
12
12
  import { a as H, L as p } from "./chunk-DQRVZFIR-DHK7_Ilc.js";
13
13
  const K = {
14
14
  note: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudoku",
3
- "version": "0.53.3",
3
+ "version": "0.53.4",
4
4
  "type": "module",
5
5
  "homepage": "https://zudoku.dev",
6
6
  "repository": {
@@ -173,7 +173,7 @@
173
173
  "@tailwindcss/typography": "0.5.16",
174
174
  "@tailwindcss/vite": "4.1.7",
175
175
  "@tanem/react-nprogress": "5.0.55",
176
- "@tanstack/react-query": "5.74.3",
176
+ "@tanstack/react-query": "5.81.5",
177
177
  "@types/react": "19.1.8",
178
178
  "@types/react-dom": "19.1.6",
179
179
  "@vitejs/plugin-react": "4.4.1",
@@ -208,7 +208,7 @@
208
208
  "minimatch": "10.0.1",
209
209
  "motion": "12.18.1",
210
210
  "nanoevents": "^9.1.0",
211
- "next-themes": "0.4.4",
211
+ "next-themes": "0.4.6",
212
212
  "oauth4webapi": "2.17.0",
213
213
  "object-hash": "3.0.0",
214
214
  "openapi-types": "12.1.3",
@@ -233,7 +233,7 @@
233
233
  "remark-parse": "^11.0.0",
234
234
  "remark-rehype": "^11.1.2",
235
235
  "rollup": "4.41.1",
236
- "semver": "7.7.1",
236
+ "semver": "7.7.2",
237
237
  "shiki": "3.7.0",
238
238
  "sitemap": "8.0.0",
239
239
  "spin-delay": "2.0.1",
@@ -247,7 +247,7 @@
247
247
  "vfile": "6.0.3",
248
248
  "vite": "6.3.5",
249
249
  "yaml": "2.8.0",
250
- "yargs": "17.7.2",
250
+ "yargs": "18.0.0",
251
251
  "zod": "3.25.67",
252
252
  "zod-to-ts": "1.2.0",
253
253
  "zustand": "5.0.5"
@@ -279,7 +279,7 @@
279
279
  "mdast-util-mdx": "3.0.0",
280
280
  "react": "19.1.0",
281
281
  "react-dom": "19.1.0",
282
- "rollup-plugin-visualizer": "5.14.0",
282
+ "rollup-plugin-visualizer": "6.0.3",
283
283
  "tsx": "4.19.4",
284
284
  "typescript": "5.8.3",
285
285
  "vitest": "3.2.3"
@@ -220,6 +220,8 @@ export const OperationList = ({
220
220
  : undefined,
221
221
  };
222
222
 
223
+ const helmetTitle = [schema.tag.name, title].filter(Boolean).join(" - ");
224
+
223
225
  return (
224
226
  <div
225
227
  className="pt-(--padding-content-top)"
@@ -227,7 +229,7 @@ export const OperationList = ({
227
229
  data-pagefind-meta="section:openapi"
228
230
  >
229
231
  <Helmet>
230
- <title>{[schema.tag.name, title].filter(Boolean).join(" - ")}</title>
232
+ {helmetTitle && <title>{helmetTitle}</title>}
231
233
  {metaDescription && (
232
234
  <meta name="description" content={metaDescription} />
233
235
  )}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Alert-FYKbqjIt.js","sources":["../../../node_modules/.pnpm/@tanstack+query-core@5.74.3/node_modules/@tanstack/query-core/build/modern/mutationObserver.js","../../../node_modules/.pnpm/@tanstack+react-query@5.74.3_react@19.1.0/node_modules/@tanstack/react-query/build/modern/useMutation.js","../src/lib/ui/Alert.tsx"],"sourcesContent":["// src/mutationObserver.ts\nimport { getDefaultState } from \"./mutation.js\";\nimport { notifyManager } from \"./notifyManager.js\";\nimport { Subscribable } from \"./subscribable.js\";\nimport { hashKey, shallowEqualObjects } from \"./utils.js\";\nvar MutationObserver = class extends Subscribable {\n #client;\n #currentResult = void 0;\n #currentMutation;\n #mutateOptions;\n constructor(client, options) {\n super();\n this.#client = client;\n this.setOptions(options);\n this.bindMethods();\n this.#updateResult();\n }\n bindMethods() {\n this.mutate = this.mutate.bind(this);\n this.reset = this.reset.bind(this);\n }\n setOptions(options) {\n const prevOptions = this.options;\n this.options = this.#client.defaultMutationOptions(options);\n if (!shallowEqualObjects(this.options, prevOptions)) {\n this.#client.getMutationCache().notify({\n type: \"observerOptionsUpdated\",\n mutation: this.#currentMutation,\n observer: this\n });\n }\n if (prevOptions?.mutationKey && this.options.mutationKey && hashKey(prevOptions.mutationKey) !== hashKey(this.options.mutationKey)) {\n this.reset();\n } else if (this.#currentMutation?.state.status === \"pending\") {\n this.#currentMutation.setOptions(this.options);\n }\n }\n onUnsubscribe() {\n if (!this.hasListeners()) {\n this.#currentMutation?.removeObserver(this);\n }\n }\n onMutationUpdate(action) {\n this.#updateResult();\n this.#notify(action);\n }\n getCurrentResult() {\n return this.#currentResult;\n }\n reset() {\n this.#currentMutation?.removeObserver(this);\n this.#currentMutation = void 0;\n this.#updateResult();\n this.#notify();\n }\n mutate(variables, options) {\n this.#mutateOptions = options;\n this.#currentMutation?.removeObserver(this);\n this.#currentMutation = this.#client.getMutationCache().build(this.#client, this.options);\n this.#currentMutation.addObserver(this);\n return this.#currentMutation.execute(variables);\n }\n #updateResult() {\n const state = this.#currentMutation?.state ?? getDefaultState();\n this.#currentResult = {\n ...state,\n isPending: state.status === \"pending\",\n isSuccess: state.status === \"success\",\n isError: state.status === \"error\",\n isIdle: state.status === \"idle\",\n mutate: this.mutate,\n reset: this.reset\n };\n }\n #notify(action) {\n notifyManager.batch(() => {\n if (this.#mutateOptions && this.hasListeners()) {\n const variables = this.#currentResult.variables;\n const context = this.#currentResult.context;\n if (action?.type === \"success\") {\n this.#mutateOptions.onSuccess?.(action.data, variables, context);\n this.#mutateOptions.onSettled?.(action.data, null, variables, context);\n } else if (action?.type === \"error\") {\n this.#mutateOptions.onError?.(action.error, variables, context);\n this.#mutateOptions.onSettled?.(\n void 0,\n action.error,\n variables,\n context\n );\n }\n }\n this.listeners.forEach((listener) => {\n listener(this.#currentResult);\n });\n });\n }\n};\nexport {\n MutationObserver\n};\n//# sourceMappingURL=mutationObserver.js.map","\"use client\";\n\n// src/useMutation.ts\nimport * as React from \"react\";\nimport { MutationObserver, notifyManager } from \"@tanstack/query-core\";\nimport { useQueryClient } from \"./QueryClientProvider.js\";\nimport { noop, shouldThrowError } from \"./utils.js\";\nfunction useMutation(options, queryClient) {\n const client = useQueryClient(queryClient);\n const [observer] = React.useState(\n () => new MutationObserver(\n client,\n options\n )\n );\n React.useEffect(() => {\n observer.setOptions(options);\n }, [observer, options]);\n const result = React.useSyncExternalStore(\n React.useCallback(\n (onStoreChange) => observer.subscribe(notifyManager.batchCalls(onStoreChange)),\n [observer]\n ),\n () => observer.getCurrentResult(),\n () => observer.getCurrentResult()\n );\n const mutate = React.useCallback(\n (variables, mutateOptions) => {\n observer.mutate(variables, mutateOptions).catch(noop);\n },\n [observer]\n );\n if (result.error && shouldThrowError(observer.options.throwOnError, [result.error])) {\n throw result.error;\n }\n return { ...result, mutate, mutateAsync: result.mutate };\n}\nexport {\n useMutation\n};\n//# sourceMappingURL=useMutation.js.map","import { cva, type VariantProps } from \"class-variance-authority\";\nimport type * as React from \"react\";\nimport { cn } from \"../util/cn.js\";\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\",\n {\n variants: {\n variant: {\n default: \"bg-card text-card-foreground\",\n destructive:\n \"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nfunction Alert({\n className,\n variant,\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof alertVariants>) {\n return (\n <div\n data-slot=\"alert\"\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n );\n}\n\nfunction AlertTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-title\"\n className={cn(\n \"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDescription({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-description\"\n className={cn(\n \"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Alert, AlertDescription, AlertTitle };\n"],"names":["MutationObserver","Subscribable","#client","#currentResult","#currentMutation","#mutateOptions","client","options","#updateResult","prevOptions","shallowEqualObjects","hashKey","action","#notify","variables","state","getDefaultState","notifyManager","context","listener","useMutation","queryClient","useQueryClient","observer","React","result","onStoreChange","mutate","mutateOptions","noop","shouldThrowError","alertVariants","cva","Alert","className","variant","props","jsx","cn","AlertTitle","AlertDescription"],"mappings":";;;;;;AAKA,IAAIA,IAAmB,cAAcC,EAAa;AAAA,EAChDC;AAAA,EACAC,KAAiB;AAAA,EACjBC;AAAA,EACAC;AAAA,EACA,YAAYC,GAAQC,GAAS;AA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