autumn-js 0.0.101 → 0.0.102

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 (175) hide show
  1. package/dist/compose/index.d.mts +67 -93
  2. package/dist/compose/index.d.ts +67 -93
  3. package/dist/compose/index.js +14 -83
  4. package/dist/compose/index.mjs +14 -80
  5. package/dist/libraries/backend/better-auth.d.mts +18 -18
  6. package/dist/libraries/backend/better-auth.d.ts +18 -18
  7. package/dist/libraries/backend/elysia.d.mts +1 -1
  8. package/dist/libraries/backend/elysia.d.ts +1 -1
  9. package/dist/libraries/backend/express.d.mts +1 -1
  10. package/dist/libraries/backend/express.d.ts +1 -1
  11. package/dist/libraries/backend/next.js +94 -94
  12. package/dist/libraries/backend/next.mjs +94 -94
  13. package/dist/libraries/backend/{referralTypes-HAk2vTns.d.ts → referralTypes-D1Q2i3mG.d.ts} +28 -27
  14. package/dist/libraries/backend/{referralTypes-Dg9pRvI7.d.mts → referralTypes-Dfg6if8j.d.mts} +28 -27
  15. package/dist/libraries/backend/tanstack.js +2 -2
  16. package/dist/libraries/backend/tanstack.mjs +2 -2
  17. package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
  18. package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
  19. package/dist/libraries/react/AutumnContext.d.mts +4 -4
  20. package/dist/libraries/react/AutumnContext.d.ts +4 -4
  21. package/dist/libraries/react/AutumnContext.mjs +4 -4
  22. package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
  23. package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
  24. package/dist/libraries/react/BaseAutumnProvider.js +7 -2
  25. package/dist/libraries/react/BaseAutumnProvider.mjs +9 -9
  26. package/dist/libraries/react/{ReactAutumnClient-B4P_QjY1.d.ts → ReactAutumnClient-DBbq29Nn.d.ts} +3 -3
  27. package/dist/libraries/react/{ReactAutumnClient-DCdPx-ps.d.mts → ReactAutumnClient-YzfxjqPK.d.mts} +3 -3
  28. package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
  29. package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
  30. package/dist/libraries/react/ReactAutumnProvider.js +7 -2
  31. package/dist/libraries/react/ReactAutumnProvider.mjs +10 -10
  32. package/dist/libraries/react/{chunk-T5PIJ4HG.mjs → chunk-3VHO7VUQ.mjs} +4 -3
  33. package/dist/libraries/react/{chunk-DVMVIAZE.mjs → chunk-5NDO7C7R.mjs} +3 -3
  34. package/dist/libraries/react/{chunk-AOJCMXVS.mjs → chunk-5URK7LI3.mjs} +3 -3
  35. package/dist/libraries/react/{chunk-YLZ5NFYO.mjs → chunk-AL3VJLFU.mjs} +1 -1
  36. package/dist/libraries/react/{chunk-LVDONEVF.mjs → chunk-CE33P32V.mjs} +7 -3
  37. package/dist/libraries/react/{chunk-G3FBFZLU.mjs → chunk-GQ3TAHSV.mjs} +1 -1
  38. package/dist/libraries/react/{chunk-CAMHARUX.mjs → chunk-H2NGSCWI.mjs} +2 -2
  39. package/dist/libraries/react/{chunk-6CJ3FB74.mjs → chunk-JI7WQ6AC.mjs} +2 -2
  40. package/dist/libraries/react/{chunk-24EVX3BR.mjs → chunk-LKV32IPT.mjs} +20 -41
  41. package/dist/libraries/react/{chunk-RQG36YPD.mjs → chunk-LXSKONN2.mjs} +5 -9
  42. package/dist/libraries/react/{chunk-R46CJXF7.mjs → chunk-OAPUYXBO.mjs} +6 -6
  43. package/dist/libraries/react/{chunk-3CJSWXNT.mjs → chunk-OAWFFAKA.mjs} +6 -6
  44. package/dist/libraries/react/{chunk-CPITDC7S.mjs → chunk-SDMBKRAI.mjs} +37 -172
  45. package/dist/libraries/react/{chunk-APDR7D6A.mjs → chunk-SY5GNYZ7.mjs} +2 -2
  46. package/dist/libraries/react/{chunk-5G3DYUNT.mjs → chunk-T73WQC2X.mjs} +1 -1
  47. package/dist/libraries/react/{chunk-R4BYOLST.mjs → chunk-TPKQIL3N.mjs} +2 -2
  48. package/dist/libraries/react/{chunk-MZDRIPNS.mjs → chunk-X6RY6VG5.mjs} +2 -2
  49. package/dist/libraries/react/{chunk-RQEL7G2O.mjs → chunk-ZVQKDPUP.mjs} +3 -3
  50. package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
  51. package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
  52. package/dist/libraries/react/client/ReactAutumnClient.mjs +3 -3
  53. package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
  54. package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
  55. package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
  56. package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
  57. package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
  58. package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
  59. package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
  60. package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
  61. package/dist/libraries/react/client/clientProdMethods.d.mts +4 -4
  62. package/dist/libraries/react/client/clientProdMethods.d.ts +4 -4
  63. package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
  64. package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
  65. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +111 -116
  66. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +1 -1
  67. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +1 -1
  68. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +76 -212
  69. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +23 -23
  70. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +1 -1
  71. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +1 -1
  72. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
  73. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
  74. package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +47 -169
  75. package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +5 -5
  76. package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
  77. package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
  78. package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +111 -116
  79. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
  80. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
  81. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +76 -215
  82. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +23 -23
  83. package/dist/libraries/react/components/ui/button.js +3 -3
  84. package/dist/libraries/react/components/ui/button.mjs +2 -2
  85. package/dist/libraries/react/components/ui/dialog.js +43 -157
  86. package/dist/libraries/react/components/ui/dialog.mjs +3 -3
  87. package/dist/libraries/react/components/ui/switch.js +12 -12
  88. package/dist/libraries/react/components/ui/switch.mjs +3 -3
  89. package/dist/libraries/react/{cusTypes-Bf1qr9iE.d.ts → cusTypes-CFofdxsA.d.mts} +2 -1
  90. package/dist/libraries/react/{cusTypes-Bf1qr9iE.d.mts → cusTypes-CFofdxsA.d.ts} +2 -1
  91. package/dist/libraries/react/{entTypes-CscyyE1A.d.mts → entTypes-BeWtfIqo.d.mts} +1 -1
  92. package/dist/libraries/react/{entTypes-O8YXxhrA.d.ts → entTypes-BhUZh8uE.d.ts} +1 -1
  93. package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
  94. package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
  95. package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
  96. package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
  97. package/dist/libraries/react/hooks/useAutumn.js +5 -1
  98. package/dist/libraries/react/hooks/useAutumn.mjs +7 -7
  99. package/dist/libraries/react/hooks/useAutumnBase.d.mts +6 -5
  100. package/dist/libraries/react/hooks/useAutumnBase.d.ts +6 -5
  101. package/dist/libraries/react/hooks/useAutumnBase.js +5 -1
  102. package/dist/libraries/react/hooks/useAutumnBase.mjs +6 -6
  103. package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
  104. package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
  105. package/dist/libraries/react/hooks/useCustomer.js +7 -2
  106. package/dist/libraries/react/hooks/useCustomer.mjs +8 -8
  107. package/dist/libraries/react/hooks/useCustomerBase.d.mts +4 -4
  108. package/dist/libraries/react/hooks/useCustomerBase.d.ts +4 -4
  109. package/dist/libraries/react/hooks/useCustomerBase.js +7 -2
  110. package/dist/libraries/react/hooks/useCustomerBase.mjs +7 -7
  111. package/dist/libraries/react/hooks/useEntity.d.mts +3 -3
  112. package/dist/libraries/react/hooks/useEntity.d.ts +3 -3
  113. package/dist/libraries/react/hooks/useEntity.js +5 -1
  114. package/dist/libraries/react/hooks/useEntity.mjs +8 -8
  115. package/dist/libraries/react/hooks/useEntityBase.d.mts +4 -4
  116. package/dist/libraries/react/hooks/useEntityBase.d.ts +4 -4
  117. package/dist/libraries/react/hooks/useEntityBase.js +5 -1
  118. package/dist/libraries/react/hooks/useEntityBase.mjs +7 -7
  119. package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
  120. package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
  121. package/dist/libraries/react/hooks/usePricingTable.mjs +6 -6
  122. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +4 -4
  123. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +4 -4
  124. package/dist/libraries/react/hooks/usePricingTableBase.mjs +5 -5
  125. package/dist/libraries/react/hooks/useProductsBase.mjs +4 -4
  126. package/dist/libraries/react/index.d.mts +1 -0
  127. package/dist/libraries/react/index.d.ts +1 -0
  128. package/dist/libraries/react/index.js +80 -222
  129. package/dist/libraries/react/index.mjs +65 -207
  130. package/dist/libraries/react/{response-B4VzjWEU.d.mts → response-AGK9KlYm.d.mts} +1 -1
  131. package/dist/libraries/react/{response-C3S90max.d.ts → response-CxMWdpyl.d.ts} +1 -1
  132. package/dist/next/{AutumnProvider-CCYZC_bN.d.mts → AutumnProvider-Xl1mqxls.d.mts} +1 -0
  133. package/dist/next/{AutumnProvider-CCYZC_bN.d.ts → AutumnProvider-Xl1mqxls.d.ts} +1 -0
  134. package/dist/next/AutumnProvider.d.mts +1 -1
  135. package/dist/next/AutumnProvider.d.ts +1 -1
  136. package/dist/next/client/NextAutumnClient.d.mts +10 -10
  137. package/dist/next/client/NextAutumnClient.d.ts +10 -10
  138. package/dist/next/client/NextAutumnProvider.d.mts +1 -1
  139. package/dist/next/client/NextAutumnProvider.d.ts +1 -1
  140. package/dist/next/client/{clientGenTypes-9ngy1q97.d.mts → clientGenTypes-BcRfHmUS.d.mts} +17 -17
  141. package/dist/next/client/{clientGenTypes-CxB4go6q.d.ts → clientGenTypes-D8f8BwMo.d.ts} +17 -17
  142. package/dist/next/client/clientUtils.d.mts +2 -2
  143. package/dist/next/client/clientUtils.d.ts +2 -2
  144. package/dist/next/client/{cusTypes-D8lhXGaX.d.mts → cusTypes-Gh2wfcmj.d.mts} +1 -0
  145. package/dist/next/client/{cusTypes-D8lhXGaX.d.ts → cusTypes-Gh2wfcmj.d.ts} +1 -0
  146. package/dist/next/client/{entTypes-Dq2mbehl.d.ts → entTypes-B_w6I3y-.d.ts} +1 -1
  147. package/dist/next/client/{entTypes-B-2_9hzP.d.mts → entTypes-C_xS1VPE.d.mts} +1 -1
  148. package/dist/next/client/hooks/useAutumn.d.mts +2 -2
  149. package/dist/next/client/hooks/useAutumn.d.ts +2 -2
  150. package/dist/next/client/hooks/useCustomer.d.mts +3 -3
  151. package/dist/next/client/hooks/useCustomer.d.ts +3 -3
  152. package/dist/next/client/hooks/useEntity.d.mts +5 -5
  153. package/dist/next/client/hooks/useEntity.d.ts +5 -5
  154. package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
  155. package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
  156. package/dist/next/client/types.d.mts +2 -2
  157. package/dist/next/client/types.d.ts +2 -2
  158. package/dist/next/index.d.mts +2 -2
  159. package/dist/next/index.d.ts +2 -2
  160. package/dist/next/server/auth/withNextAuth.d.mts +1 -1
  161. package/dist/next/server/auth/withNextAuth.d.ts +1 -1
  162. package/dist/next/server/componentActions.d.mts +1 -1
  163. package/dist/next/server/componentActions.d.ts +1 -1
  164. package/dist/next/server/cusActions.d.mts +21 -21
  165. package/dist/next/server/cusActions.d.ts +21 -21
  166. package/dist/next/server/{cusTypes-DhOYtM7H.d.mts → cusTypes-DVA6iu7V.d.mts} +3 -2
  167. package/dist/next/server/{cusTypes-DhOYtM7H.d.ts → cusTypes-DVA6iu7V.d.ts} +3 -2
  168. package/dist/next/server/genActions.d.mts +1 -1
  169. package/dist/next/server/genActions.d.ts +1 -1
  170. package/dist/sdk/index.d.mts +1 -0
  171. package/dist/sdk/index.d.ts +1 -0
  172. package/dist/styles/global.css +111 -116
  173. package/package.json +9 -22
  174. package/tsup.config.ts +0 -1
  175. package/dist/libraries/react/{chunk-ALFXUHDD.mjs → chunk-ALIGIMSK.mjs} +6 -6
@@ -42,7 +42,7 @@ __export(pricing_table_synced_exports, {
42
42
  usePricingTableContext: () => usePricingTableContext
43
43
  });
44
44
  module.exports = __toCommonJS(pricing_table_synced_exports);
45
- var import_react10 = __toESM(require("react"));
45
+ var import_react8 = __toESM(require("react"));
46
46
 
47
47
  // src/libraries/react/BaseAutumnProvider.tsx
48
48
  var import_react3 = require("react");
@@ -1211,7 +1211,8 @@ var usePricingTableBase = ({
1211
1211
  // src/libraries/react/hooks/useAutumnBase.tsx
1212
1212
  var useAutumnBase = ({
1213
1213
  AutumnContext: AutumnContext2,
1214
- authClient
1214
+ authClient,
1215
+ refetchCustomer
1215
1216
  }) => {
1216
1217
  const context = useAutumnContext({
1217
1218
  AutumnContext: AutumnContext2,
@@ -1250,6 +1251,9 @@ var useAutumnBase = ({
1250
1251
  }
1251
1252
  }
1252
1253
  await refetchPricingTable();
1254
+ if (refetchCustomer) {
1255
+ await refetchCustomer();
1256
+ }
1253
1257
  if (setAttachOpen) {
1254
1258
  setAttachOpen(false);
1255
1259
  }
@@ -1498,7 +1502,8 @@ var useCustomerBase = ({
1498
1502
  let autumnFunctions = emptyDefaultFunctions;
1499
1503
  if (AutumnContext2) {
1500
1504
  autumnFunctions = useAutumnBase({
1501
- AutumnContext: AutumnContext2
1505
+ AutumnContext: AutumnContext2,
1506
+ refetchCustomer: mutate
1502
1507
  });
1503
1508
  }
1504
1509
  return {
@@ -1541,7 +1546,7 @@ var import_swr3 = __toESM(require("swr"));
1541
1546
  var import_react4 = require("react");
1542
1547
 
1543
1548
  // src/libraries/react/components/attach-dialog/attach-dialog-synced.tsx
1544
- var import_react8 = require("react");
1549
+ var import_react6 = require("react");
1545
1550
 
1546
1551
  // ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
1547
1552
  function r(e) {
@@ -4071,10 +4076,10 @@ function cn(...inputs) {
4071
4076
  // src/libraries/react/components/ui/button.tsx
4072
4077
  var React3 = __toESM(require("react"));
4073
4078
 
4074
- // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs
4079
+ // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
4075
4080
  var React2 = __toESM(require("react"), 1);
4076
4081
 
4077
- // ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
4082
+ // ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
4078
4083
  var React = __toESM(require("react"), 1);
4079
4084
  function setRef(ref, value) {
4080
4085
  if (typeof ref === "function") {
@@ -4111,7 +4116,7 @@ function useComposedRefs(...refs) {
4111
4116
  return React.useCallback(composeRefs(...refs), refs);
4112
4117
  }
4113
4118
 
4114
- // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs
4119
+ // ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.mjs
4115
4120
  var import_jsx_runtime3 = require("react/jsx-runtime");
4116
4121
  // @__NO_SIDE_EFFECTS__
4117
4122
  function createSlot(ownerName) {
@@ -4281,114 +4286,10 @@ var Button = React3.forwardRef(
4281
4286
  );
4282
4287
  Button.displayName = "Button";
4283
4288
 
4284
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
4285
- var import_react6 = require("react");
4286
-
4287
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
4288
- var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
4289
- var toCamelCase = (string) => string.replace(
4290
- /^([A-Z])|[\s-_]+(\w)/g,
4291
- (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
4292
- );
4293
- var toPascalCase = (string) => {
4294
- const camelCase = toCamelCase(string);
4295
- return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
4296
- };
4297
- var mergeClasses = (...classes) => classes.filter((className, index, array) => {
4298
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
4299
- }).join(" ").trim();
4300
- var hasA11yProp = (props) => {
4301
- for (const prop in props) {
4302
- if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
4303
- return true;
4304
- }
4305
- }
4306
- };
4307
-
4308
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
4309
- var import_react5 = require("react");
4310
-
4311
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
4312
- var defaultAttributes = {
4313
- xmlns: "http://www.w3.org/2000/svg",
4314
- width: 24,
4315
- height: 24,
4316
- viewBox: "0 0 24 24",
4317
- fill: "none",
4318
- stroke: "currentColor",
4319
- strokeWidth: 2,
4320
- strokeLinecap: "round",
4321
- strokeLinejoin: "round"
4322
- };
4323
-
4324
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
4325
- var Icon = (0, import_react5.forwardRef)(
4326
- ({
4327
- color = "currentColor",
4328
- size = 24,
4329
- strokeWidth = 2,
4330
- absoluteStrokeWidth,
4331
- className = "",
4332
- children,
4333
- iconNode,
4334
- ...rest
4335
- }, ref) => (0, import_react5.createElement)(
4336
- "svg",
4337
- {
4338
- ref,
4339
- ...defaultAttributes,
4340
- width: size,
4341
- height: size,
4342
- stroke: color,
4343
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
4344
- className: mergeClasses("lucide", className),
4345
- ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
4346
- ...rest
4347
- },
4348
- [
4349
- ...iconNode.map(([tag, attrs]) => (0, import_react5.createElement)(tag, attrs)),
4350
- ...Array.isArray(children) ? children : [children]
4351
- ]
4352
- )
4353
- );
4354
-
4355
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
4356
- var createLucideIcon = (iconName, iconNode) => {
4357
- const Component = (0, import_react6.forwardRef)(
4358
- ({ className, ...props }, ref) => (0, import_react6.createElement)(Icon, {
4359
- ref,
4360
- iconNode,
4361
- className: mergeClasses(
4362
- `lucide-${toKebabCase(toPascalCase(iconName))}`,
4363
- `lucide-${iconName}`,
4364
- className
4365
- ),
4366
- ...props
4367
- })
4368
- );
4369
- Component.displayName = toPascalCase(iconName);
4370
- return Component;
4371
- };
4372
-
4373
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/check.js
4374
- var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
4375
- var Check = createLucideIcon("check", __iconNode);
4376
-
4377
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
4378
- var __iconNode2 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
4379
- var LoaderCircle = createLucideIcon("loader-circle", __iconNode2);
4380
-
4381
- // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js
4382
- var __iconNode3 = [
4383
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
4384
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
4385
- ];
4386
- var X = createLucideIcon("x", __iconNode3);
4387
-
4388
4289
  // src/libraries/react/components/ui/dialog.tsx
4389
4290
  var React26 = __toESM(require("react"));
4390
4291
 
4391
- // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_nvxra7japei47urosme2um22hm/node_modules/@radix-ui/react-dialog/dist/index.mjs
4292
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
4392
4293
  var React25 = __toESM(require("react"), 1);
4393
4294
 
4394
4295
  // ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
@@ -4401,7 +4302,7 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
4401
4302
  };
4402
4303
  }
4403
4304
 
4404
- // ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs
4305
+ // ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-context/dist/index.mjs
4405
4306
  var React4 = __toESM(require("react"), 1);
4406
4307
  var import_jsx_runtime5 = require("react/jsx-runtime");
4407
4308
  function createContext22(rootComponentName, defaultContext) {
@@ -4478,15 +4379,15 @@ function composeContextScopes(...scopes) {
4478
4379
  return createScope;
4479
4380
  }
4480
4381
 
4481
- // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.mjs
4382
+ // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
4482
4383
  var React6 = __toESM(require("react"), 1);
4483
4384
 
4484
- // ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
4385
+ // ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
4485
4386
  var React5 = __toESM(require("react"), 1);
4486
4387
  var useLayoutEffect2 = globalThis?.document ? React5.useLayoutEffect : () => {
4487
4388
  };
4488
4389
 
4489
- // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.mjs
4390
+ // ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.mjs
4490
4391
  var useReactId = React6[" useId ".trim().toString()] || (() => void 0);
4491
4392
  var count = 0;
4492
4393
  function useId(deterministicId) {
@@ -4497,7 +4398,7 @@ function useId(deterministicId) {
4497
4398
  return deterministicId || (id ? `radix-${id}` : "");
4498
4399
  }
4499
4400
 
4500
- // ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
4401
+ // ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
4501
4402
  var React7 = __toESM(require("react"), 1);
4502
4403
  var React22 = __toESM(require("react"), 1);
4503
4404
  var useInsertionEffect = React7[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
@@ -4566,10 +4467,10 @@ function isFunction(value) {
4566
4467
  }
4567
4468
  var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
4568
4469
 
4569
- // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_qqydjmzujgr4s5u2j2ssu4bt2q/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
4470
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
4570
4471
  var React11 = __toESM(require("react"), 1);
4571
4472
 
4572
- // ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18_h4q3w37xhmcrn4c7n63j3pdsvq/node_modules/@radix-ui/react-primitive/dist/index.mjs
4473
+ // ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18_nioct6cchui7iasnxutwakzwo4/node_modules/@radix-ui/react-primitive/dist/index.mjs
4573
4474
  var React8 = __toESM(require("react"), 1);
4574
4475
  var ReactDOM = __toESM(require("react-dom"), 1);
4575
4476
  var import_jsx_runtime6 = require("react/jsx-runtime");
@@ -4609,7 +4510,7 @@ function dispatchDiscreteCustomEvent(target, event) {
4609
4510
  if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
4610
4511
  }
4611
4512
 
4612
- // ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
4513
+ // ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
4613
4514
  var React9 = __toESM(require("react"), 1);
4614
4515
  function useCallbackRef(callback) {
4615
4516
  const callbackRef = React9.useRef(callback);
@@ -4619,7 +4520,7 @@ function useCallbackRef(callback) {
4619
4520
  return React9.useMemo(() => (...args) => callbackRef.current?.(...args), []);
4620
4521
  }
4621
4522
 
4622
- // ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
4523
+ // ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
4623
4524
  var React10 = __toESM(require("react"), 1);
4624
4525
  function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
4625
4526
  const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
@@ -4634,7 +4535,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
4634
4535
  }, [onEscapeKeyDown, ownerDocument]);
4635
4536
  }
4636
4537
 
4637
- // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_qqydjmzujgr4s5u2j2ssu4bt2q/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
4538
+ // ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.6_@types+react@18.3.23__@types_drwlkfjdq4wgdhzmir3o6m26pm/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
4638
4539
  var import_jsx_runtime7 = require("react/jsx-runtime");
4639
4540
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
4640
4541
  var CONTEXT_UPDATE = "dismissableLayer.update";
@@ -4839,7 +4740,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
4839
4740
  }
4840
4741
  }
4841
4742
 
4842
- // ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@_ltpf6ulvfyhzuwzezwr3tf7nri/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
4743
+ // ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@_tzcmconc5ragkl5g7l4v5nw77e/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
4843
4744
  var React12 = __toESM(require("react"), 1);
4844
4745
  var import_jsx_runtime8 = require("react/jsx-runtime");
4845
4746
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
@@ -5043,7 +4944,7 @@ function removeLinks(items) {
5043
4944
  return items.filter((item) => item.tagName !== "A");
5044
4945
  }
5045
4946
 
5046
- // ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._yvzugzw72kcowy56xycpgl73bi/node_modules/@radix-ui/react-portal/dist/index.mjs
4947
+ // ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._i6nxrodwqs37ebgrrch2pubydm/node_modules/@radix-ui/react-portal/dist/index.mjs
5047
4948
  var React13 = __toESM(require("react"), 1);
5048
4949
  var import_react_dom = __toESM(require("react-dom"), 1);
5049
4950
  var import_jsx_runtime9 = require("react/jsx-runtime");
@@ -5057,7 +4958,7 @@ var Portal = React13.forwardRef((props, forwardedRef) => {
5057
4958
  });
5058
4959
  Portal.displayName = PORTAL_NAME;
5059
4960
 
5060
- // ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18._lywgqupelahyhtkejioztf6s5q/node_modules/@radix-ui/react-presence/dist/index.mjs
4961
+ // ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18._bzol5sev26xbtplj3ab5nkoo5a/node_modules/@radix-ui/react-presence/dist/index.mjs
5061
4962
  var React23 = __toESM(require("react"), 1);
5062
4963
  var React14 = __toESM(require("react"), 1);
5063
4964
  function useStateMachine(initialState, machine) {
@@ -5183,7 +5084,7 @@ function getElementRef2(element) {
5183
5084
  return element.props.ref || element.ref;
5184
5085
  }
5185
5086
 
5186
- // ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
5087
+ // ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
5187
5088
  var React15 = __toESM(require("react"), 1);
5188
5089
  var count2 = 0;
5189
5090
  function useFocusGuards() {
@@ -5243,19 +5144,19 @@ function __spreadArray(to, from, pack) {
5243
5144
  return to.concat(ar || Array.prototype.slice.call(from));
5244
5145
  }
5245
5146
 
5246
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js
5147
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
5247
5148
  var React24 = __toESM(require("react"));
5248
5149
 
5249
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js
5150
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
5250
5151
  var React18 = __toESM(require("react"));
5251
5152
 
5252
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
5153
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
5253
5154
  var zeroRightClassName = "right-scroll-bar-position";
5254
5155
  var fullWidthClassName = "width-before-scroll-bar";
5255
5156
  var noScrollbarsClassName = "with-scroll-bars-hidden";
5256
5157
  var removedBarSizeVariable = "--removed-body-scroll-bar-size";
5257
5158
 
5258
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js
5159
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
5259
5160
  function assignRef(ref, value) {
5260
5161
  if (typeof ref === "function") {
5261
5162
  ref(value);
@@ -5265,10 +5166,10 @@ function assignRef(ref, value) {
5265
5166
  return ref;
5266
5167
  }
5267
5168
 
5268
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js
5269
- var import_react7 = require("react");
5169
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.js
5170
+ var import_react5 = require("react");
5270
5171
  function useCallbackRef2(initialValue, callback) {
5271
- var ref = (0, import_react7.useState)(function() {
5172
+ var ref = (0, import_react5.useState)(function() {
5272
5173
  return {
5273
5174
  // value
5274
5175
  value: initialValue,
@@ -5293,7 +5194,7 @@ function useCallbackRef2(initialValue, callback) {
5293
5194
  return ref.facade;
5294
5195
  }
5295
5196
 
5296
- // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
5197
+ // ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.23_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
5297
5198
  var React16 = __toESM(require("react"));
5298
5199
  var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React16.useLayoutEffect : React16.useEffect;
5299
5200
  var currentValues = /* @__PURE__ */ new WeakMap();
@@ -5325,7 +5226,7 @@ function useMergeRefs(refs, defaultValue) {
5325
5226
  return callbackRef;
5326
5227
  }
5327
5228
 
5328
- // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js
5229
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.js
5329
5230
  function ItoI(a) {
5330
5231
  return a;
5331
5232
  }
@@ -5411,7 +5312,7 @@ function createSidecarMedium(options) {
5411
5312
  return medium;
5412
5313
  }
5413
5314
 
5414
- // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js
5315
+ // ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.23_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.js
5415
5316
  var React17 = __toESM(require("react"));
5416
5317
  var SideCar = function(_a) {
5417
5318
  var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
@@ -5430,10 +5331,10 @@ function exportSidecar(medium, exported) {
5430
5331
  return SideCar;
5431
5332
  }
5432
5333
 
5433
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js
5334
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.js
5434
5335
  var effectCar = createSidecarMedium();
5435
5336
 
5436
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js
5337
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.js
5437
5338
  var nothing = function() {
5438
5339
  return;
5439
5340
  };
@@ -5465,13 +5366,13 @@ RemoveScroll.classNames = {
5465
5366
  zeroRight: zeroRightClassName
5466
5367
  };
5467
5368
 
5468
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
5369
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
5469
5370
  var React21 = __toESM(require("react"));
5470
5371
 
5471
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
5372
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
5472
5373
  var React20 = __toESM(require("react"));
5473
5374
 
5474
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js
5375
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
5475
5376
  var React19 = __toESM(require("react"));
5476
5377
 
5477
5378
  // ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
@@ -5486,7 +5387,7 @@ var getNonce = function() {
5486
5387
  return void 0;
5487
5388
  };
5488
5389
 
5489
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js
5390
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.js
5490
5391
  function makeStyleTag() {
5491
5392
  if (!document)
5492
5393
  return null;
@@ -5532,7 +5433,7 @@ var stylesheetSingleton = function() {
5532
5433
  };
5533
5434
  };
5534
5435
 
5535
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js
5436
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.js
5536
5437
  var styleHookSingleton = function() {
5537
5438
  var sheet = stylesheetSingleton();
5538
5439
  return function(styles, isDynamic) {
@@ -5545,7 +5446,7 @@ var styleHookSingleton = function() {
5545
5446
  };
5546
5447
  };
5547
5448
 
5548
- // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js
5449
+ // ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.23_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.js
5549
5450
  var styleSingleton = function() {
5550
5451
  var useStyle = styleHookSingleton();
5551
5452
  var Sheet = function(_a) {
@@ -5556,7 +5457,7 @@ var styleSingleton = function() {
5556
5457
  return Sheet;
5557
5458
  };
5558
5459
 
5559
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
5460
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
5560
5461
  var zeroGap = {
5561
5462
  left: 0,
5562
5463
  top: 0,
@@ -5591,7 +5492,7 @@ var getGapWidth = function(gapMode) {
5591
5492
  };
5592
5493
  };
5593
5494
 
5594
- // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
5495
+ // ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js
5595
5496
  var Style = styleSingleton();
5596
5497
  var lockAttribute = "data-scroll-locked";
5597
5498
  var getStyles = function(_a, allowRelative, gapMode, important) {
@@ -5631,7 +5532,7 @@ var RemoveScrollBar = function(_a) {
5631
5532
  return React20.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
5632
5533
  };
5633
5534
 
5634
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
5535
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
5635
5536
  var passiveSupported = false;
5636
5537
  if (typeof window !== "undefined") {
5637
5538
  try {
@@ -5650,7 +5551,7 @@ if (typeof window !== "undefined") {
5650
5551
  var options;
5651
5552
  var nonPassive = passiveSupported ? { passive: false } : false;
5652
5553
 
5653
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
5554
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
5654
5555
  var alwaysContainsScroll = function(node) {
5655
5556
  return node.tagName === "TEXTAREA";
5656
5557
  };
@@ -5750,7 +5651,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
5750
5651
  return shouldCancelScroll;
5751
5652
  };
5752
5653
 
5753
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
5654
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
5754
5655
  var getTouchXY = function(event) {
5755
5656
  return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
5756
5657
  };
@@ -5915,10 +5816,10 @@ function getOutermostShadowParent(node) {
5915
5816
  return shadowParent;
5916
5817
  }
5917
5818
 
5918
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js
5819
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js
5919
5820
  var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
5920
5821
 
5921
- // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js
5822
+ // ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@18.3.23_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.js
5922
5823
  var ReactRemoveScroll = React24.forwardRef(function(props, ref) {
5923
5824
  return React24.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
5924
5825
  });
@@ -6046,7 +5947,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
6046
5947
  return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
6047
5948
  };
6048
5949
 
6049
- // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_nvxra7japei47urosme2um22hm/node_modules/@radix-ui/react-dialog/dist/index.mjs
5950
+ // ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3_6jqxb3tj3w4wyxj7ukcjjle5fm/node_modules/@radix-ui/react-dialog/dist/index.mjs
6050
5951
  var import_jsx_runtime10 = require("react/jsx-runtime");
6051
5952
  var DIALOG_NAME = "Dialog";
6052
5953
  var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
@@ -6384,10 +6285,7 @@ var DialogContent2 = React26.forwardRef(({ className, children, ...props }, ref)
6384
6285
  ...props,
6385
6286
  children: [
6386
6287
  children,
6387
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: [
6388
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(X, { className: "au-h-4 au-w-4" }),
6389
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "au-sr-only", children: "Close" })
6390
- ] })
6288
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Close, { className: "au-absolute au-right-4 au-top-4 au-rounded-sm au-opacity-70 au-ring-offset-background au-transition-opacity hover:au-opacity-100 focus:au-outline-none focus:au-ring-2 focus:au-ring-ring focus:au-ring-offset-2 disabled:au-pointer-events-none data-[state=open]:au-bg-accent data-[state=open]:au-text-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "au-sr-only", children: "Close" }) })
6391
6289
  ]
6392
6290
  }
6393
6291
  )
@@ -6566,8 +6464,8 @@ var getAttachContent = (preview) => {
6566
6464
  var import_jsx_runtime13 = require("react/jsx-runtime");
6567
6465
  function AttachDialog(params) {
6568
6466
  const { attach } = useCustomer();
6569
- const [loading, setLoading] = (0, import_react8.useState)(false);
6570
- const [optionsInput, setOptionsInput] = (0, import_react8.useState)(
6467
+ const [loading, setLoading] = (0, import_react6.useState)(false);
6468
+ const [optionsInput, setOptionsInput] = (0, import_react6.useState)(
6571
6469
  params?.preview?.options || []
6572
6470
  );
6573
6471
  const getTotalPrice = () => {
@@ -6579,7 +6477,7 @@ function AttachDialog(params) {
6579
6477
  });
6580
6478
  return sum;
6581
6479
  };
6582
- (0, import_react8.useEffect)(() => {
6480
+ (0, import_react6.useEffect)(() => {
6583
6481
  setOptionsInput(params?.preview?.options || []);
6584
6482
  }, [params?.preview?.options]);
6585
6483
  if (!params || !params.preview) {
@@ -6640,8 +6538,7 @@ function AttachDialog(params) {
6640
6538
  setLoading(false);
6641
6539
  },
6642
6540
  disabled: loading,
6643
- className: "au-min-w-16 au-flex au-items-center au-gap-2",
6644
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(LoaderCircle, { className: "au-w-4 au-h-4 au-animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "au-whitespace-nowrap au-flex au-gap-1", children: "Confirm" }) })
6541
+ className: "au-min-w-16 au-flex au-items-center au-gap-2"
6645
6542
  }
6646
6543
  )
6647
6544
  ] })
@@ -6753,19 +6650,19 @@ var TotalPrice = ({ children }) => {
6753
6650
  };
6754
6651
 
6755
6652
  // src/libraries/react/components/check-dialog/check-dialog-synced.tsx
6756
- var import_react9 = require("react");
6653
+ var import_react7 = require("react");
6757
6654
  var import_jsx_runtime14 = require("react/jsx-runtime");
6758
6655
 
6759
6656
  // src/libraries/react/components/pricing-table/pricing-table-synced.tsx
6760
- var import_react11 = require("react");
6657
+ var import_react9 = require("react");
6761
6658
 
6762
6659
  // src/libraries/react/components/ui/switch.tsx
6763
6660
  var React31 = __toESM(require("react"));
6764
6661
 
6765
- // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._ltfmxglirfpp4f6vsthcwtnnc4/node_modules/@radix-ui/react-switch/dist/index.mjs
6662
+ // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._6zzey5cj563f4jvdnd6324q4ry/node_modules/@radix-ui/react-switch/dist/index.mjs
6766
6663
  var React30 = __toESM(require("react"), 1);
6767
6664
 
6768
- // ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
6665
+ // ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-previous/dist/index.mjs
6769
6666
  var React28 = __toESM(require("react"), 1);
6770
6667
  function usePrevious(value) {
6771
6668
  const ref = React28.useRef({ value, previous: value });
@@ -6778,7 +6675,7 @@ function usePrevious(value) {
6778
6675
  }, [value]);
6779
6676
  }
6780
6677
 
6781
- // ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@18.3.23_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs
6678
+ // ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@18.3.23_react@19.1.0/node_modules/@radix-ui/react-use-size/dist/index.mjs
6782
6679
  var React29 = __toESM(require("react"), 1);
6783
6680
  function useSize(element) {
6784
6681
  const [size, setSize] = React29.useState(void 0);
@@ -6815,7 +6712,7 @@ function useSize(element) {
6815
6712
  return size;
6816
6713
  }
6817
6714
 
6818
- // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._ltfmxglirfpp4f6vsthcwtnnc4/node_modules/@radix-ui/react-switch/dist/index.mjs
6715
+ // ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.6_@types+react@18.3.23__@types+react@18.3._6zzey5cj563f4jvdnd6324q4ry/node_modules/@radix-ui/react-switch/dist/index.mjs
6819
6716
  var import_jsx_runtime15 = require("react/jsx-runtime");
6820
6717
  var SWITCH_NAME = "Switch";
6821
6718
  var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
@@ -7041,12 +6938,6 @@ var loadingStyles = {
7041
6938
  alignItems: "center",
7042
6939
  minHeight: "300px"
7043
6940
  };
7044
- var spinnerStyles = {
7045
- width: "1.5rem",
7046
- height: "1.5rem",
7047
- color: "rgb(161 161 170)",
7048
- animation: "spin 1s linear infinite"
7049
- };
7050
6941
  if (typeof document !== "undefined") {
7051
6942
  const styleId = "au-spinner-keyframes";
7052
6943
  if (!document.getElementById(styleId)) {
@@ -7068,10 +6959,10 @@ function PricingTable({
7068
6959
  productDetails
7069
6960
  }) {
7070
6961
  const { attach } = useCustomer();
7071
- const [isAnnual, setIsAnnual] = (0, import_react11.useState)(false);
6962
+ const [isAnnual, setIsAnnual] = (0, import_react9.useState)(false);
7072
6963
  const { products, isLoading, error } = usePricingTable({ productDetails });
7073
6964
  if (isLoading) {
7074
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: loadingStyles, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(LoaderCircle, { style: spinnerStyles }) });
6965
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: loadingStyles });
7075
6966
  }
7076
6967
  if (error) {
7077
6968
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { children: " Something went wrong..." });
@@ -7125,7 +7016,7 @@ function PricingTable({
7125
7016
  }
7126
7017
  ) });
7127
7018
  }
7128
- var PricingTableContext = (0, import_react11.createContext)({
7019
+ var PricingTableContext = (0, import_react9.createContext)({
7129
7020
  isAnnualToggle: false,
7130
7021
  setIsAnnualToggle: () => {
7131
7022
  },
@@ -7133,7 +7024,7 @@ var PricingTableContext = (0, import_react11.createContext)({
7133
7024
  showFeatures: true
7134
7025
  });
7135
7026
  var usePricingTableContext = (componentName) => {
7136
- const context = (0, import_react11.useContext)(PricingTableContext);
7027
+ const context = (0, import_react9.useContext)(PricingTableContext);
7137
7028
  if (context === void 0) {
7138
7029
  throw new Error(`${componentName} must be used within <PricingTable />`);
7139
7030
  }
@@ -7287,24 +7178,21 @@ var PricingFeatureList = ({
7287
7178
  everythingFrom,
7288
7179
  ", plus:"
7289
7180
  ] }),
7290
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "au-space-y-3", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
7181
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "au-space-y-3", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
7291
7182
  "div",
7292
7183
  {
7293
7184
  className: "au-flex au-items-start au-gap-2 au-text-sm",
7294
- children: [
7295
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Check, { className: "au-h-4 au-w-4 au-text-primary au-flex-shrink-0 au-mt-0.5" }),
7296
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "au-flex au-flex-col", children: [
7297
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children: item.display?.primary_text }),
7298
- item.display?.secondary_text && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "au-text-sm au-text-muted-foreground", children: item.display?.secondary_text })
7299
- ] })
7300
- ]
7185
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "au-flex au-flex-col", children: [
7186
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children: item.display?.primary_text }),
7187
+ item.display?.secondary_text && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "au-text-sm au-text-muted-foreground", children: item.display?.secondary_text })
7188
+ ] })
7301
7189
  },
7302
7190
  index
7303
7191
  )) })
7304
7192
  ] });
7305
7193
  };
7306
- var PricingCardButton = import_react10.default.forwardRef(({ recommended, children, className, onClick, ...props }, ref) => {
7307
- const [loading, setLoading] = (0, import_react11.useState)(false);
7194
+ var PricingCardButton = import_react8.default.forwardRef(({ recommended, children, className, onClick, ...props }, ref) => {
7195
+ const [loading, setLoading] = (0, import_react9.useState)(false);
7308
7196
  const handleClick = async (e) => {
7309
7197
  setLoading(true);
7310
7198
  try {
@@ -7326,17 +7214,7 @@ var PricingCardButton = import_react10.default.forwardRef(({ recommended, childr
7326
7214
  variant: recommended ? "default" : "secondary",
7327
7215
  ref,
7328
7216
  disabled: loading || props.disabled,
7329
- onClick: handleClick,
7330
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(LoaderCircle, { className: "au-h-4 au-w-4 au-animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
7331
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "au-flex au-items-center au-justify-between au-w-full au-transition-transform au-duration-300 group-hover:au-translate-y-[-130%]", children: [
7332
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children }),
7333
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "au-text-sm", children: "\u2192" })
7334
- ] }),
7335
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "au-flex au-items-center au-justify-between au-w-full au-absolute au-px-4 au-translate-y-[130%] au-transition-transform au-duration-300 group-hover:au-translate-y-0 au-mt-2 group-hover:au-mt-0", children: [
7336
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children }),
7337
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "au-text-sm", children: "\u2192" })
7338
- ] })
7339
- ] })
7217
+ onClick: handleClick
7340
7218
  }
7341
7219
  );
7342
7220
  });
@@ -7371,20 +7249,3 @@ var RecommendedBadge = ({ recommended }) => {
7371
7249
  RecommendedBadge,
7372
7250
  usePricingTableContext
7373
7251
  });
7374
- /*! Bundled license information:
7375
-
7376
- lucide-react/dist/esm/shared/src/utils.js:
7377
- lucide-react/dist/esm/defaultAttributes.js:
7378
- lucide-react/dist/esm/Icon.js:
7379
- lucide-react/dist/esm/createLucideIcon.js:
7380
- lucide-react/dist/esm/icons/check.js:
7381
- lucide-react/dist/esm/icons/loader-circle.js:
7382
- lucide-react/dist/esm/icons/x.js:
7383
- lucide-react/dist/esm/lucide-react.js:
7384
- (**
7385
- * @license lucide-react v0.523.0 - ISC
7386
- *
7387
- * This source code is licensed under the ISC license.
7388
- * See the LICENSE file in the root directory of this source tree.
7389
- *)
7390
- */