autumn-js 0.1.54 → 0.1.57
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.
- package/dist/libraries/backend/better-auth.js +116 -93
- package/dist/libraries/backend/better-auth.mjs +10 -10
- package/dist/libraries/backend/{chunk-U32IGAQR.mjs → chunk-C5O7XMAD.mjs} +10 -8
- package/dist/libraries/backend/{chunk-ZNIP5BSL.mjs → chunk-CHVT6WMU.mjs} +34 -26
- package/dist/libraries/backend/{chunk-OCFEFXEK.mjs → chunk-CR2NPL2F.mjs} +10 -8
- package/dist/libraries/backend/{chunk-PXKGEXEM.mjs → chunk-E653AL66.mjs} +21 -19
- package/dist/libraries/backend/{chunk-T52GEWE4.mjs → chunk-EGTNCWHG.mjs} +1 -1
- package/dist/libraries/backend/{chunk-RYSW6BBS.mjs → chunk-EIQ677UF.mjs} +14 -11
- package/dist/libraries/backend/{chunk-EQJAZ5SS.mjs → chunk-FREAOO7Q.mjs} +12 -7
- package/dist/libraries/backend/{chunk-Z5RWGXIJ.mjs → chunk-MMSKG4AT.mjs} +6 -5
- package/dist/libraries/backend/{chunk-2TEL6LR5.mjs → chunk-SGEUXFOF.mjs} +1 -1
- package/dist/libraries/backend/convex.js +94 -71
- package/dist/libraries/backend/convex.mjs +9 -9
- package/dist/libraries/backend/elysia.js +94 -71
- package/dist/libraries/backend/elysia.mjs +9 -9
- package/dist/libraries/backend/express.js +94 -71
- package/dist/libraries/backend/express.mjs +9 -9
- package/dist/libraries/backend/fastify.js +94 -71
- package/dist/libraries/backend/fastify.mjs +9 -9
- package/dist/libraries/backend/hono.js +94 -71
- package/dist/libraries/backend/hono.mjs +9 -9
- package/dist/libraries/backend/index.js +94 -71
- package/dist/libraries/backend/index.mjs +9 -9
- package/dist/libraries/backend/next.d.mts +1 -0
- package/dist/libraries/backend/next.d.ts +1 -0
- package/dist/libraries/backend/next.js +95 -72
- package/dist/libraries/backend/next.mjs +10 -10
- package/dist/libraries/backend/react-router.js +94 -71
- package/dist/libraries/backend/react-router.mjs +9 -9
- package/dist/libraries/backend/remix_dep.js +94 -71
- package/dist/libraries/backend/remix_dep.mjs +9 -9
- package/dist/libraries/backend/routes/analyticsRoutes.d.mts +2 -1
- package/dist/libraries/backend/routes/analyticsRoutes.d.ts +2 -1
- package/dist/libraries/backend/routes/analyticsRoutes.js +20 -13
- package/dist/libraries/backend/routes/analyticsRoutes.mjs +4 -4
- package/dist/libraries/backend/routes/backendRouter.d.mts +5 -2
- package/dist/libraries/backend/routes/backendRouter.d.ts +5 -2
- package/dist/libraries/backend/routes/backendRouter.js +94 -71
- package/dist/libraries/backend/routes/backendRouter.mjs +9 -9
- package/dist/libraries/backend/routes/entityRoutes.d.mts +2 -1
- package/dist/libraries/backend/routes/entityRoutes.d.ts +2 -1
- package/dist/libraries/backend/routes/entityRoutes.js +24 -16
- package/dist/libraries/backend/routes/entityRoutes.mjs +4 -4
- package/dist/libraries/backend/routes/genRoutes.d.mts +2 -1
- package/dist/libraries/backend/routes/genRoutes.d.ts +2 -1
- package/dist/libraries/backend/routes/genRoutes.js +44 -31
- package/dist/libraries/backend/routes/genRoutes.mjs +4 -4
- package/dist/libraries/backend/routes/productRoutes.d.mts +2 -1
- package/dist/libraries/backend/routes/productRoutes.d.ts +2 -1
- package/dist/libraries/backend/routes/productRoutes.js +16 -10
- package/dist/libraries/backend/routes/productRoutes.mjs +4 -4
- package/dist/libraries/backend/routes/referralRoutes.d.mts +2 -1
- package/dist/libraries/backend/routes/referralRoutes.d.ts +2 -1
- package/dist/libraries/backend/routes/referralRoutes.js +20 -13
- package/dist/libraries/backend/routes/referralRoutes.mjs +4 -4
- package/dist/libraries/backend/supabase.js +94 -71
- package/dist/libraries/backend/supabase.mjs +9 -9
- package/dist/libraries/backend/tanstack.js +94 -71
- package/dist/libraries/backend/tanstack.mjs +9 -9
- package/dist/libraries/backend/utils/backendRes.js +1 -1
- package/dist/libraries/backend/utils/backendRes.mjs +2 -2
- package/dist/libraries/backend/utils/betterAuth/types.d.mts +1 -0
- package/dist/libraries/backend/utils/betterAuth/types.d.ts +1 -0
- package/dist/libraries/backend/utils/logBackendErrors.js +1 -1
- package/dist/libraries/backend/utils/logBackendErrors.mjs +1 -1
- package/dist/libraries/backend/utils/withAuth.d.mts +2 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +2 -1
- package/dist/libraries/backend/utils/withAuth.js +11 -6
- package/dist/libraries/backend/utils/withAuth.mjs +3 -3
- package/dist/libraries/react/AutumnContext.d.mts +1 -1
- package/dist/libraries/react/AutumnContext.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.js +15 -11
- package/dist/libraries/react/AutumnContext.mjs +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.js +23 -17
- package/dist/libraries/react/BaseAutumnProvider.mjs +11 -11
- package/dist/libraries/react/{ReactAutumnClient-DgCDKkGy.d.ts → ReactAutumnClient-D_bAmSAC.d.ts} +3 -1
- package/dist/libraries/react/{ReactAutumnClient-Cmh9bCXD.d.mts → ReactAutumnClient-vnYSAJnH.d.mts} +3 -1
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -1
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -1
- package/dist/libraries/react/ReactAutumnProvider.js +36 -22
- package/dist/libraries/react/ReactAutumnProvider.mjs +13 -13
- package/dist/libraries/react/{chunk-2OHJ6PS6.mjs → chunk-2ZZJUGBO.mjs} +10 -10
- package/dist/libraries/react/{chunk-5TLRC3ED.mjs → chunk-36POY2CM.mjs} +4 -4
- package/dist/libraries/react/{chunk-44QHJGA6.mjs → chunk-4SS6N2XA.mjs} +2 -2
- package/dist/libraries/react/{chunk-DNESIAHJ.mjs → chunk-57G436NL.mjs} +2 -2
- package/dist/libraries/react/{chunk-4VSQWJS4.mjs → chunk-5YRCYEG5.mjs} +1 -1
- package/dist/libraries/react/{chunk-QNMARYYM.mjs → chunk-6ET7BZ6Z.mjs} +2 -2
- package/dist/libraries/react/{chunk-QEWVBDWJ.mjs → chunk-6I5DGTWH.mjs} +2 -2
- package/dist/libraries/react/{chunk-RW5WXCY5.mjs → chunk-6XHXGLPY.mjs} +1 -1
- package/dist/libraries/react/{chunk-2GEDBGON.mjs → chunk-7N75YTVM.mjs} +6 -6
- package/dist/libraries/react/{chunk-DXHYWJOY.mjs → chunk-ACRIHVEO.mjs} +3 -3
- package/dist/libraries/react/{chunk-HFFUO3H4.mjs → chunk-BAQYEWPO.mjs} +2 -2
- package/dist/libraries/react/{chunk-XES6NX2O.mjs → chunk-BGK7UZ2I.mjs} +8 -3
- package/dist/libraries/react/{chunk-2LZIBRD4.mjs → chunk-C3LUB2Q3.mjs} +6 -6
- package/dist/libraries/react/{chunk-ZC2IBKQ6.mjs → chunk-D5GSRXSP.mjs} +7 -7
- package/dist/libraries/react/{chunk-DBPPVPZJ.mjs → chunk-DI2OKRQG.mjs} +4 -4
- package/dist/libraries/react/{chunk-36CHQZJY.mjs → chunk-ESF5JUVR.mjs} +1 -1
- package/dist/libraries/react/{chunk-44B5W37R.mjs → chunk-IPGTOZO5.mjs} +4 -3
- package/dist/libraries/react/{chunk-MHAXHLX4.mjs → chunk-JLY4L5PT.mjs} +8 -8
- package/dist/libraries/react/{chunk-KBQOXOZI.mjs → chunk-KHXGA6KQ.mjs} +1 -1
- package/dist/libraries/react/{chunk-4QVAJKUF.mjs → chunk-MJF25D7E.mjs} +32 -32
- package/dist/libraries/react/{chunk-OONW6MUW.mjs → chunk-QIJTY4HU.mjs} +6 -4
- package/dist/libraries/react/{chunk-QP7QNCAD.mjs → chunk-S4XVATSO.mjs} +10 -7
- package/dist/libraries/react/{chunk-BGTIKB6A.mjs → chunk-TMBPDMCG.mjs} +1 -1
- package/dist/libraries/react/{chunk-SHJ473YA.mjs → chunk-UKFZYMMO.mjs} +5 -5
- package/dist/libraries/react/{chunk-RCAZVNHB.mjs → chunk-VJ7HU27Y.mjs} +22 -17
- package/dist/libraries/react/{chunk-SWSFJTEQ.mjs → chunk-WA7QZHL5.mjs} +1 -1
- package/dist/libraries/react/{chunk-I274Z7T2.mjs → chunk-WZHPY2S7.mjs} +13 -13
- package/dist/libraries/react/{chunk-TMTPHD2I.mjs → chunk-XDQLJ7QR.mjs} +0 -1
- package/dist/libraries/react/{chunk-UO57XQQF.mjs → chunk-XLMBVGHS.mjs} +22 -22
- package/dist/libraries/react/{chunk-4KLTPVNG.mjs → chunk-Y626BPVN.mjs} +9 -9
- package/dist/libraries/react/{chunk-PN7IQYUI.mjs → chunk-YOUN2TA4.mjs} +1 -1
- package/dist/libraries/react/client/ConvexAutumnClient.d.mts +4 -2
- package/dist/libraries/react/client/ConvexAutumnClient.d.ts +4 -2
- package/dist/libraries/react/client/ConvexAutumnClient.js +8 -3
- package/dist/libraries/react/client/ConvexAutumnClient.mjs +2 -2
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.js +15 -11
- package/dist/libraries/react/client/ReactAutumnClient.mjs +5 -5
- package/dist/libraries/react/client/clientAnalyticsMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientAnalyticsMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientAnalyticsMethods.js +0 -1
- package/dist/libraries/react/client/clientAnalyticsMethods.mjs +1 -1
- package/dist/libraries/react/client/clientCompMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCompMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.ts +1 -1
- package/dist/libraries/react/client/types/clientGenTypes.js +1 -1
- package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -1
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.js +110 -107
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +34 -34
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.js +200 -197
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +34 -34
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +368 -365
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +34 -34
- package/dist/libraries/react/components/ui/accordion.js +23 -23
- package/dist/libraries/react/components/ui/accordion.mjs +5 -5
- package/dist/libraries/react/components/ui/button.js +3 -3
- package/dist/libraries/react/components/ui/button.mjs +2 -2
- package/dist/libraries/react/components/ui/dialog.js +49 -49
- package/dist/libraries/react/components/ui/dialog.mjs +6 -6
- package/dist/libraries/react/components/ui/popover.js +47 -47
- package/dist/libraries/react/components/ui/popover.mjs +6 -6
- package/dist/libraries/react/components/ui/switch.js +12 -12
- package/dist/libraries/react/components/ui/switch.mjs +4 -4
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.js +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.mjs +2 -2
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.js +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.mjs +3 -3
- package/dist/libraries/react/hooks/useAggregateEvents.d.mts +4 -1
- package/dist/libraries/react/hooks/useAggregateEvents.d.ts +4 -1
- package/dist/libraries/react/hooks/useAggregateEvents.js +17 -13
- package/dist/libraries/react/hooks/useAggregateEvents.mjs +7 -7
- package/dist/libraries/react/hooks/useAnalytics.js +15 -11
- package/dist/libraries/react/hooks/useAnalytics.mjs +7 -7
- package/dist/libraries/react/hooks/useCustomer.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomer.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomer.js +17 -13
- package/dist/libraries/react/hooks/useCustomer.mjs +11 -11
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.js +17 -13
- package/dist/libraries/react/hooks/useCustomerBase.mjs +10 -10
- package/dist/libraries/react/hooks/useEntity.js +15 -11
- package/dist/libraries/react/hooks/useEntity.mjs +11 -11
- package/dist/libraries/react/hooks/useEntityBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useEntityBase.js +15 -11
- package/dist/libraries/react/hooks/useEntityBase.mjs +10 -10
- package/dist/libraries/react/hooks/useListEvents.d.mts +4 -1
- package/dist/libraries/react/hooks/useListEvents.d.ts +4 -1
- package/dist/libraries/react/hooks/useListEvents.js +17 -12
- package/dist/libraries/react/hooks/useListEvents.mjs +7 -7
- package/dist/libraries/react/hooks/usePaywall.js +15 -11
- package/dist/libraries/react/hooks/usePaywall.mjs +7 -7
- package/dist/libraries/react/hooks/usePricingTable.js +15 -11
- package/dist/libraries/react/hooks/usePricingTable.mjs +8 -8
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.js +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +2 -2
- package/dist/libraries/react/hooks/useProductsBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useProductsBase.d.ts +1 -1
- package/dist/libraries/react/index.d.mts +8 -3
- package/dist/libraries/react/index.d.ts +8 -3
- package/dist/libraries/react/index.js +391 -376
- package/dist/libraries/react/index.mjs +366 -351
- package/dist/next/client/NextAutumnClient.d.mts +3 -1
- package/dist/next/client/NextAutumnClient.d.ts +3 -1
- package/dist/next/index.d.mts +1 -0
- package/dist/next/index.d.ts +1 -0
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.mjs +1 -1
- package/dist/utils/{chunk-WNUBT3GZ.mjs → chunk-EG37DNU2.mjs} +1 -1
- package/dist/utils/encryptUtils.js +1 -1
- package/dist/utils/encryptUtils.mjs +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.mjs +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ module.exports = __toCommonJS(paywall_dialog_synced_exports);
|
|
|
40
40
|
// src/libraries/react/components/ui/dialog.tsx
|
|
41
41
|
var React25 = __toESM(require("react"));
|
|
42
42
|
|
|
43
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.
|
|
43
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+reac_3a07165b274db87b4246f37627276027/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
44
44
|
var React24 = __toESM(require("react"), 1);
|
|
45
45
|
|
|
46
46
|
// ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
@@ -53,7 +53,7 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.
|
|
56
|
+
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
57
57
|
var React = __toESM(require("react"), 1);
|
|
58
58
|
function setRef(ref, value) {
|
|
59
59
|
if (typeof ref === "function") {
|
|
@@ -90,7 +90,7 @@ function useComposedRefs(...refs) {
|
|
|
90
90
|
return React.useCallback(composeRefs(...refs), refs);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.
|
|
93
|
+
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
94
94
|
var React2 = __toESM(require("react"), 1);
|
|
95
95
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
96
96
|
function createContext2(rootComponentName, defaultContext) {
|
|
@@ -167,15 +167,15 @@ function composeContextScopes(...scopes) {
|
|
|
167
167
|
return createScope;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.
|
|
170
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
171
171
|
var React4 = __toESM(require("react"), 1);
|
|
172
172
|
|
|
173
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.1.10_react@19.
|
|
173
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
174
174
|
var React3 = __toESM(require("react"), 1);
|
|
175
175
|
var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
|
|
176
176
|
};
|
|
177
177
|
|
|
178
|
-
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.
|
|
178
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
179
179
|
var useReactId = React4[" useId ".trim().toString()] || (() => void 0);
|
|
180
180
|
var count = 0;
|
|
181
181
|
function useId(deterministicId) {
|
|
@@ -186,7 +186,7 @@ function useId(deterministicId) {
|
|
|
186
186
|
return deterministicId || (id ? `radix-${id}` : "");
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.
|
|
189
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
190
190
|
var React5 = __toESM(require("react"), 1);
|
|
191
191
|
var React22 = __toESM(require("react"), 1);
|
|
192
192
|
var useInsertionEffect = React5[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
@@ -255,14 +255,14 @@ function isFunction(value) {
|
|
|
255
255
|
}
|
|
256
256
|
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
257
257
|
|
|
258
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.
|
|
258
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.2.3_@types+react@19.1.10___a75ae06ee9e29285ce19390aace95a02/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
259
259
|
var React10 = __toESM(require("react"), 1);
|
|
260
260
|
|
|
261
|
-
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.
|
|
261
|
+
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.1.10__@types+re_f8fc61f39a09b99c4b88664f4d20e190/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
262
262
|
var React7 = __toESM(require("react"), 1);
|
|
263
263
|
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
264
264
|
|
|
265
|
-
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.
|
|
265
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
266
266
|
var React6 = __toESM(require("react"), 1);
|
|
267
267
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
268
268
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -349,7 +349,7 @@ function getElementRef(element) {
|
|
|
349
349
|
return element.props.ref || element.ref;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.
|
|
352
|
+
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.1.10__@types+re_f8fc61f39a09b99c4b88664f4d20e190/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
353
353
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
354
354
|
var NODES = [
|
|
355
355
|
"a",
|
|
@@ -387,7 +387,7 @@ function dispatchDiscreteCustomEvent(target, event) {
|
|
|
387
387
|
if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.10_react@19.
|
|
390
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
391
391
|
var React8 = __toESM(require("react"), 1);
|
|
392
392
|
function useCallbackRef(callback) {
|
|
393
393
|
const callbackRef = React8.useRef(callback);
|
|
@@ -397,7 +397,7 @@ function useCallbackRef(callback) {
|
|
|
397
397
|
return React8.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.10_react@19.
|
|
400
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
401
401
|
var React9 = __toESM(require("react"), 1);
|
|
402
402
|
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
403
403
|
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
@@ -412,7 +412,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
|
|
|
412
412
|
}, [onEscapeKeyDown, ownerDocument]);
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.
|
|
415
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.2.3_@types+react@19.1.10___a75ae06ee9e29285ce19390aace95a02/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
416
416
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
417
417
|
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
418
418
|
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
@@ -617,7 +617,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.
|
|
620
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+_5ef8b38ef364f44ea1b47f419e2150cb/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
621
621
|
var React11 = __toESM(require("react"), 1);
|
|
622
622
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
623
623
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
@@ -821,7 +821,7 @@ function removeLinks(items) {
|
|
|
821
821
|
return items.filter((item) => item.tagName !== "A");
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
-
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.
|
|
824
|
+
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_5524b086c128f0791c9cd7e1892ae36a/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
825
825
|
var React12 = __toESM(require("react"), 1);
|
|
826
826
|
var import_react_dom = __toESM(require("react-dom"), 1);
|
|
827
827
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
@@ -835,7 +835,7 @@ var Portal = React12.forwardRef((props, forwardedRef) => {
|
|
|
835
835
|
});
|
|
836
836
|
Portal.displayName = PORTAL_NAME;
|
|
837
837
|
|
|
838
|
-
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.
|
|
838
|
+
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.2.3_@types+react@19.1.10__@types+rea_8360ff57be752315af757bc04841172a/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
839
839
|
var React23 = __toESM(require("react"), 1);
|
|
840
840
|
var React13 = __toESM(require("react"), 1);
|
|
841
841
|
function useStateMachine(initialState, machine) {
|
|
@@ -961,7 +961,7 @@ function getElementRef2(element) {
|
|
|
961
961
|
return element.props.ref || element.ref;
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.10_react@19.
|
|
964
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
965
965
|
var React14 = __toESM(require("react"), 1);
|
|
966
966
|
var count2 = 0;
|
|
967
967
|
function useFocusGuards() {
|
|
@@ -1021,19 +1021,19 @@ function __spreadArray(to, from, pack) {
|
|
|
1021
1021
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1024
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
1025
1025
|
var React21 = __toESM(require("react"));
|
|
1026
1026
|
|
|
1027
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1027
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
1028
1028
|
var React17 = __toESM(require("react"));
|
|
1029
1029
|
|
|
1030
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.
|
|
1030
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
1031
1031
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
1032
1032
|
var fullWidthClassName = "width-before-scroll-bar";
|
|
1033
1033
|
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
1034
1034
|
var removedBarSizeVariable = "--removed-body-scroll-bar-size";
|
|
1035
1035
|
|
|
1036
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.
|
|
1036
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
1037
1037
|
function assignRef(ref, value) {
|
|
1038
1038
|
if (typeof ref === "function") {
|
|
1039
1039
|
ref(value);
|
|
@@ -1043,7 +1043,7 @@ function assignRef(ref, value) {
|
|
|
1043
1043
|
return ref;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.
|
|
1046
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
1047
1047
|
var import_react = require("react");
|
|
1048
1048
|
function useCallbackRef2(initialValue, callback) {
|
|
1049
1049
|
var ref = (0, import_react.useState)(function() {
|
|
@@ -1071,7 +1071,7 @@ function useCallbackRef2(initialValue, callback) {
|
|
|
1071
1071
|
return ref.facade;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.
|
|
1074
|
+
// ../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.1.10_react@19.2.3/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
1075
1075
|
var React15 = __toESM(require("react"));
|
|
1076
1076
|
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React15.useLayoutEffect : React15.useEffect;
|
|
1077
1077
|
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
@@ -1103,7 +1103,7 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
1103
1103
|
return callbackRef;
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.
|
|
1106
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.2.3/node_modules/use-sidecar/dist/es2015/medium.js
|
|
1107
1107
|
function ItoI(a) {
|
|
1108
1108
|
return a;
|
|
1109
1109
|
}
|
|
@@ -1189,7 +1189,7 @@ function createSidecarMedium(options) {
|
|
|
1189
1189
|
return medium;
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
|
-
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.
|
|
1192
|
+
// ../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.1.10_react@19.2.3/node_modules/use-sidecar/dist/es2015/exports.js
|
|
1193
1193
|
var React16 = __toESM(require("react"));
|
|
1194
1194
|
var SideCar = function(_a) {
|
|
1195
1195
|
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
@@ -1208,10 +1208,10 @@ function exportSidecar(medium, exported) {
|
|
|
1208
1208
|
return SideCar;
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1211
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
1212
1212
|
var effectCar = createSidecarMedium();
|
|
1213
1213
|
|
|
1214
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1214
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
1215
1215
|
var nothing = function() {
|
|
1216
1216
|
return;
|
|
1217
1217
|
};
|
|
@@ -1243,13 +1243,13 @@ RemoveScroll.classNames = {
|
|
|
1243
1243
|
zeroRight: zeroRightClassName
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1246
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
1247
1247
|
var React20 = __toESM(require("react"));
|
|
1248
1248
|
|
|
1249
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.
|
|
1249
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
1250
1250
|
var React19 = __toESM(require("react"));
|
|
1251
1251
|
|
|
1252
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.
|
|
1252
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
1253
1253
|
var React18 = __toESM(require("react"));
|
|
1254
1254
|
|
|
1255
1255
|
// ../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
@@ -1264,7 +1264,7 @@ var getNonce = function() {
|
|
|
1264
1264
|
return void 0;
|
|
1265
1265
|
};
|
|
1266
1266
|
|
|
1267
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.
|
|
1267
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
1268
1268
|
function makeStyleTag() {
|
|
1269
1269
|
if (!document)
|
|
1270
1270
|
return null;
|
|
@@ -1310,7 +1310,7 @@ var stylesheetSingleton = function() {
|
|
|
1310
1310
|
};
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.
|
|
1313
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
1314
1314
|
var styleHookSingleton = function() {
|
|
1315
1315
|
var sheet = stylesheetSingleton();
|
|
1316
1316
|
return function(styles, isDynamic) {
|
|
@@ -1323,7 +1323,7 @@ var styleHookSingleton = function() {
|
|
|
1323
1323
|
};
|
|
1324
1324
|
};
|
|
1325
1325
|
|
|
1326
|
-
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.
|
|
1326
|
+
// ../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.1.10_react@19.2.3/node_modules/react-style-singleton/dist/es2015/component.js
|
|
1327
1327
|
var styleSingleton = function() {
|
|
1328
1328
|
var useStyle = styleHookSingleton();
|
|
1329
1329
|
var Sheet = function(_a) {
|
|
@@ -1334,7 +1334,7 @@ var styleSingleton = function() {
|
|
|
1334
1334
|
return Sheet;
|
|
1335
1335
|
};
|
|
1336
1336
|
|
|
1337
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.
|
|
1337
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
1338
1338
|
var zeroGap = {
|
|
1339
1339
|
left: 0,
|
|
1340
1340
|
top: 0,
|
|
@@ -1369,7 +1369,7 @@ var getGapWidth = function(gapMode) {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
};
|
|
1371
1371
|
|
|
1372
|
-
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.
|
|
1372
|
+
// ../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
1373
1373
|
var Style = styleSingleton();
|
|
1374
1374
|
var lockAttribute = "data-scroll-locked";
|
|
1375
1375
|
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
@@ -1409,7 +1409,7 @@ var RemoveScrollBar = function(_a) {
|
|
|
1409
1409
|
return React19.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1412
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
1413
1413
|
var passiveSupported = false;
|
|
1414
1414
|
if (typeof window !== "undefined") {
|
|
1415
1415
|
try {
|
|
@@ -1428,7 +1428,7 @@ if (typeof window !== "undefined") {
|
|
|
1428
1428
|
var options;
|
|
1429
1429
|
var nonPassive = passiveSupported ? { passive: false } : false;
|
|
1430
1430
|
|
|
1431
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1431
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
|
|
1432
1432
|
var alwaysContainsScroll = function(node) {
|
|
1433
1433
|
return node.tagName === "TEXTAREA";
|
|
1434
1434
|
};
|
|
@@ -1528,7 +1528,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
|
1528
1528
|
return shouldCancelScroll;
|
|
1529
1529
|
};
|
|
1530
1530
|
|
|
1531
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1531
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
1532
1532
|
var getTouchXY = function(event) {
|
|
1533
1533
|
return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
|
|
1534
1534
|
};
|
|
@@ -1693,10 +1693,10 @@ function getOutermostShadowParent(node) {
|
|
|
1693
1693
|
return shadowParent;
|
|
1694
1694
|
}
|
|
1695
1695
|
|
|
1696
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1696
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
1697
1697
|
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
1698
1698
|
|
|
1699
|
-
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.
|
|
1699
|
+
// ../node_modules/.pnpm/react-remove-scroll@2.7.1_@types+react@19.1.10_react@19.2.3/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
1700
1700
|
var ReactRemoveScroll = React21.forwardRef(function(props, ref) {
|
|
1701
1701
|
return React21.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
|
|
1702
1702
|
});
|
|
@@ -1824,7 +1824,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
1824
1824
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
1825
1825
|
};
|
|
1826
1826
|
|
|
1827
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.
|
|
1827
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+reac_3a07165b274db87b4246f37627276027/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
1828
1828
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1829
1829
|
var DIALOG_NAME = "Dialog";
|
|
1830
1830
|
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
@@ -2128,10 +2128,10 @@ var Title = DialogTitle;
|
|
|
2128
2128
|
var Description = DialogDescription;
|
|
2129
2129
|
var Close = DialogClose;
|
|
2130
2130
|
|
|
2131
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2131
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2132
2132
|
var import_react3 = require("react");
|
|
2133
2133
|
|
|
2134
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2134
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
2135
2135
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2136
2136
|
var toCamelCase = (string) => string.replace(
|
|
2137
2137
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
@@ -2152,10 +2152,10 @@ var hasA11yProp = (props) => {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
};
|
|
2154
2154
|
|
|
2155
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2155
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2156
2156
|
var import_react2 = require("react");
|
|
2157
2157
|
|
|
2158
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2158
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
2159
2159
|
var defaultAttributes = {
|
|
2160
2160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2161
2161
|
width: 24,
|
|
@@ -2168,7 +2168,7 @@ var defaultAttributes = {
|
|
|
2168
2168
|
strokeLinejoin: "round"
|
|
2169
2169
|
};
|
|
2170
2170
|
|
|
2171
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2171
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2172
2172
|
var Icon = (0, import_react2.forwardRef)(
|
|
2173
2173
|
({
|
|
2174
2174
|
color = "currentColor",
|
|
@@ -2199,7 +2199,7 @@ var Icon = (0, import_react2.forwardRef)(
|
|
|
2199
2199
|
)
|
|
2200
2200
|
);
|
|
2201
2201
|
|
|
2202
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2202
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2203
2203
|
var createLucideIcon = (iconName, iconNode) => {
|
|
2204
2204
|
const Component = (0, import_react3.forwardRef)(
|
|
2205
2205
|
({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
|
|
@@ -2217,15 +2217,15 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
2217
2217
|
return Component;
|
|
2218
2218
|
};
|
|
2219
2219
|
|
|
2220
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2220
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
2221
2221
|
var __iconNode = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
2222
2222
|
var ChevronDown = createLucideIcon("chevron-down", __iconNode);
|
|
2223
2223
|
|
|
2224
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2224
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
2225
2225
|
var __iconNode2 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
2226
2226
|
var LoaderCircle = createLucideIcon("loader-circle", __iconNode2);
|
|
2227
2227
|
|
|
2228
|
-
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.
|
|
2228
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/x.js
|
|
2229
2229
|
var __iconNode3 = [
|
|
2230
2230
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
2231
2231
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
@@ -5291,7 +5291,7 @@ var toContainerResult = async ({
|
|
|
5291
5291
|
|
|
5292
5292
|
// src/utils/logger.ts
|
|
5293
5293
|
var getTime = () => {
|
|
5294
|
-
|
|
5294
|
+
const timeString = (/* @__PURE__ */ new Date()).toISOString();
|
|
5295
5295
|
return `[${timeString.split("T")[1].split(".")[0]}]`;
|
|
5296
5296
|
};
|
|
5297
5297
|
var greaterThanLevel = (level) => {
|
|
@@ -6016,7 +6016,6 @@ var logFetchError = ({
|
|
|
6016
6016
|
// src/libraries/react/client/clientAnalyticsMethods.ts
|
|
6017
6017
|
async function eventListMethod(params) {
|
|
6018
6018
|
const res = await this.post(`${this.prefix}/events/list`, params);
|
|
6019
|
-
console.log("res", res);
|
|
6020
6019
|
return res;
|
|
6021
6020
|
}
|
|
6022
6021
|
async function eventAggregateMethod(params) {
|
|
@@ -6137,6 +6136,7 @@ var AutumnClient = class {
|
|
|
6137
6136
|
headers;
|
|
6138
6137
|
framework;
|
|
6139
6138
|
defaultReturnUrl;
|
|
6139
|
+
suppressLogs;
|
|
6140
6140
|
constructor({
|
|
6141
6141
|
backendUrl,
|
|
6142
6142
|
getBearerToken,
|
|
@@ -6145,7 +6145,8 @@ var AutumnClient = class {
|
|
|
6145
6145
|
betterAuthUrl,
|
|
6146
6146
|
headers,
|
|
6147
6147
|
pathPrefix,
|
|
6148
|
-
defaultReturnUrl
|
|
6148
|
+
defaultReturnUrl,
|
|
6149
|
+
suppressLogs
|
|
6149
6150
|
}) {
|
|
6150
6151
|
this.backendUrl = backendUrl;
|
|
6151
6152
|
this.getBearerToken = getBearerToken;
|
|
@@ -6167,6 +6168,7 @@ var AutumnClient = class {
|
|
|
6167
6168
|
if (betterAuthUrl) camelCase = true;
|
|
6168
6169
|
this.camelCase = camelCase;
|
|
6169
6170
|
this.defaultReturnUrl = defaultReturnUrl;
|
|
6171
|
+
this.suppressLogs = suppressLogs ?? false;
|
|
6170
6172
|
}
|
|
6171
6173
|
/**
|
|
6172
6174
|
* Detects if the backend supports CORS credentials by making an OPTIONS request
|
|
@@ -6258,19 +6260,21 @@ var AutumnClient = class {
|
|
|
6258
6260
|
headers: await this.getHeaders(),
|
|
6259
6261
|
credentials: includeCredentials ? "include" : "omit"
|
|
6260
6262
|
});
|
|
6261
|
-
const loggedError = await logAuthError(response);
|
|
6263
|
+
const loggedError = this.suppressLogs ? false : await logAuthError(response);
|
|
6262
6264
|
return await toContainerResult({
|
|
6263
6265
|
response,
|
|
6264
6266
|
logger: console,
|
|
6265
|
-
logError: !loggedError
|
|
6267
|
+
logError: !this.suppressLogs && !loggedError
|
|
6266
6268
|
});
|
|
6267
6269
|
} catch (error) {
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6270
|
+
if (!this.suppressLogs) {
|
|
6271
|
+
logFetchError({
|
|
6272
|
+
method,
|
|
6273
|
+
backendUrl: this.backendUrl || "",
|
|
6274
|
+
path,
|
|
6275
|
+
error
|
|
6276
|
+
});
|
|
6277
|
+
}
|
|
6274
6278
|
return {
|
|
6275
6279
|
data: null,
|
|
6276
6280
|
error: new AutumnError({
|
|
@@ -6424,7 +6428,6 @@ var usePaywall = ({
|
|
|
6424
6428
|
|
|
6425
6429
|
// src/libraries/react/BaseAutumnProvider.tsx
|
|
6426
6430
|
var import_react8 = require("react");
|
|
6427
|
-
var import_react9 = require("react");
|
|
6428
6431
|
|
|
6429
6432
|
// src/libraries/react/hooks/helpers/useDialog.tsx
|
|
6430
6433
|
var import_react7 = require("react");
|
|
@@ -6435,13 +6438,13 @@ var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
|
6435
6438
|
// src/libraries/react/ReactAutumnProvider.tsx
|
|
6436
6439
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
6437
6440
|
|
|
6438
|
-
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.
|
|
6439
|
-
var
|
|
6441
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_cd33b1a9636ddff2c99fbf0b4cf894a1/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
6442
|
+
var import_react11 = __toESM(require("react"), 1);
|
|
6440
6443
|
|
|
6441
|
-
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.
|
|
6442
|
-
var
|
|
6444
|
+
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_e04568b91563986ff83492e660e9a927/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
6445
|
+
var import_react9 = __toESM(require("react"), 1);
|
|
6443
6446
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
6444
|
-
var
|
|
6447
|
+
var import_react10 = __toESM(require("react"), 1);
|
|
6445
6448
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
6446
6449
|
function createCollection(name) {
|
|
6447
6450
|
const PROVIDER_NAME = name + "CollectionProvider";
|
|
@@ -6452,14 +6455,14 @@ function createCollection(name) {
|
|
|
6452
6455
|
);
|
|
6453
6456
|
const CollectionProvider = (props) => {
|
|
6454
6457
|
const { scope, children } = props;
|
|
6455
|
-
const ref =
|
|
6456
|
-
const itemMap =
|
|
6458
|
+
const ref = import_react9.default.useRef(null);
|
|
6459
|
+
const itemMap = import_react9.default.useRef(/* @__PURE__ */ new Map()).current;
|
|
6457
6460
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
|
|
6458
6461
|
};
|
|
6459
6462
|
CollectionProvider.displayName = PROVIDER_NAME;
|
|
6460
6463
|
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
6461
6464
|
const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
|
|
6462
|
-
const CollectionSlot =
|
|
6465
|
+
const CollectionSlot = import_react9.default.forwardRef(
|
|
6463
6466
|
(props, forwardedRef) => {
|
|
6464
6467
|
const { scope, children } = props;
|
|
6465
6468
|
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
@@ -6471,13 +6474,13 @@ function createCollection(name) {
|
|
|
6471
6474
|
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
6472
6475
|
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
6473
6476
|
const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
|
|
6474
|
-
const CollectionItemSlot =
|
|
6477
|
+
const CollectionItemSlot = import_react9.default.forwardRef(
|
|
6475
6478
|
(props, forwardedRef) => {
|
|
6476
6479
|
const { scope, children, ...itemData } = props;
|
|
6477
|
-
const ref =
|
|
6480
|
+
const ref = import_react9.default.useRef(null);
|
|
6478
6481
|
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
6479
6482
|
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
6480
|
-
|
|
6483
|
+
import_react9.default.useEffect(() => {
|
|
6481
6484
|
context.itemMap.set(ref, { ref, ...itemData });
|
|
6482
6485
|
return () => void context.itemMap.delete(ref);
|
|
6483
6486
|
});
|
|
@@ -6487,7 +6490,7 @@ function createCollection(name) {
|
|
|
6487
6490
|
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
6488
6491
|
function useCollection2(scope) {
|
|
6489
6492
|
const context = useCollectionContext(name + "CollectionConsumer", scope);
|
|
6490
|
-
const getItems =
|
|
6493
|
+
const getItems = import_react9.default.useCallback(() => {
|
|
6491
6494
|
const collectionNode = context.collectionRef.current;
|
|
6492
6495
|
if (!collectionNode) return [];
|
|
6493
6496
|
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
|
|
@@ -6506,13 +6509,13 @@ function createCollection(name) {
|
|
|
6506
6509
|
];
|
|
6507
6510
|
}
|
|
6508
6511
|
|
|
6509
|
-
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.
|
|
6510
|
-
var
|
|
6512
|
+
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types_9c85dd3249118f6218aca130d6055182/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
6513
|
+
var React29 = __toESM(require("react"), 1);
|
|
6511
6514
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
6512
6515
|
var COLLAPSIBLE_NAME = "Collapsible";
|
|
6513
6516
|
var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
|
|
6514
6517
|
var [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);
|
|
6515
|
-
var Collapsible =
|
|
6518
|
+
var Collapsible = React29.forwardRef(
|
|
6516
6519
|
(props, forwardedRef) => {
|
|
6517
6520
|
const {
|
|
6518
6521
|
__scopeCollapsible,
|
|
@@ -6535,7 +6538,7 @@ var Collapsible = React30.forwardRef(
|
|
|
6535
6538
|
disabled,
|
|
6536
6539
|
contentId: useId(),
|
|
6537
6540
|
open,
|
|
6538
|
-
onOpenToggle:
|
|
6541
|
+
onOpenToggle: React29.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
6539
6542
|
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
6540
6543
|
Primitive.div,
|
|
6541
6544
|
{
|
|
@@ -6551,7 +6554,7 @@ var Collapsible = React30.forwardRef(
|
|
|
6551
6554
|
);
|
|
6552
6555
|
Collapsible.displayName = COLLAPSIBLE_NAME;
|
|
6553
6556
|
var TRIGGER_NAME2 = "CollapsibleTrigger";
|
|
6554
|
-
var CollapsibleTrigger =
|
|
6557
|
+
var CollapsibleTrigger = React29.forwardRef(
|
|
6555
6558
|
(props, forwardedRef) => {
|
|
6556
6559
|
const { __scopeCollapsible, ...triggerProps } = props;
|
|
6557
6560
|
const context = useCollapsibleContext(TRIGGER_NAME2, __scopeCollapsible);
|
|
@@ -6573,7 +6576,7 @@ var CollapsibleTrigger = React30.forwardRef(
|
|
|
6573
6576
|
);
|
|
6574
6577
|
CollapsibleTrigger.displayName = TRIGGER_NAME2;
|
|
6575
6578
|
var CONTENT_NAME2 = "CollapsibleContent";
|
|
6576
|
-
var CollapsibleContent =
|
|
6579
|
+
var CollapsibleContent = React29.forwardRef(
|
|
6577
6580
|
(props, forwardedRef) => {
|
|
6578
6581
|
const { forceMount, ...contentProps } = props;
|
|
6579
6582
|
const context = useCollapsibleContext(CONTENT_NAME2, props.__scopeCollapsible);
|
|
@@ -6581,20 +6584,20 @@ var CollapsibleContent = React30.forwardRef(
|
|
|
6581
6584
|
}
|
|
6582
6585
|
);
|
|
6583
6586
|
CollapsibleContent.displayName = CONTENT_NAME2;
|
|
6584
|
-
var CollapsibleContentImpl =
|
|
6587
|
+
var CollapsibleContentImpl = React29.forwardRef((props, forwardedRef) => {
|
|
6585
6588
|
const { __scopeCollapsible, present, children, ...contentProps } = props;
|
|
6586
6589
|
const context = useCollapsibleContext(CONTENT_NAME2, __scopeCollapsible);
|
|
6587
|
-
const [isPresent, setIsPresent] =
|
|
6588
|
-
const ref =
|
|
6590
|
+
const [isPresent, setIsPresent] = React29.useState(present);
|
|
6591
|
+
const ref = React29.useRef(null);
|
|
6589
6592
|
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
6590
|
-
const heightRef =
|
|
6593
|
+
const heightRef = React29.useRef(0);
|
|
6591
6594
|
const height = heightRef.current;
|
|
6592
|
-
const widthRef =
|
|
6595
|
+
const widthRef = React29.useRef(0);
|
|
6593
6596
|
const width = widthRef.current;
|
|
6594
6597
|
const isOpen = context.open || isPresent;
|
|
6595
|
-
const isMountAnimationPreventedRef =
|
|
6596
|
-
const originalStylesRef =
|
|
6597
|
-
|
|
6598
|
+
const isMountAnimationPreventedRef = React29.useRef(isOpen);
|
|
6599
|
+
const originalStylesRef = React29.useRef(void 0);
|
|
6600
|
+
React29.useEffect(() => {
|
|
6598
6601
|
const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
|
|
6599
6602
|
return () => cancelAnimationFrame(rAF);
|
|
6600
6603
|
}, []);
|
|
@@ -6642,16 +6645,16 @@ var Root2 = Collapsible;
|
|
|
6642
6645
|
var Trigger2 = CollapsibleTrigger;
|
|
6643
6646
|
var Content2 = CollapsibleContent;
|
|
6644
6647
|
|
|
6645
|
-
// ../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.1.10_react@19.
|
|
6646
|
-
var
|
|
6648
|
+
// ../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
6649
|
+
var React30 = __toESM(require("react"), 1);
|
|
6647
6650
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
6648
|
-
var DirectionContext =
|
|
6651
|
+
var DirectionContext = React30.createContext(void 0);
|
|
6649
6652
|
function useDirection(localDir) {
|
|
6650
|
-
const globalDir =
|
|
6653
|
+
const globalDir = React30.useContext(DirectionContext);
|
|
6651
6654
|
return localDir || globalDir || "ltr";
|
|
6652
6655
|
}
|
|
6653
6656
|
|
|
6654
|
-
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.
|
|
6657
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_cd33b1a9636ddff2c99fbf0b4cf894a1/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
6655
6658
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
6656
6659
|
var ACCORDION_NAME = "Accordion";
|
|
6657
6660
|
var ACCORDION_KEYS = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"];
|
|
@@ -6661,7 +6664,7 @@ var [createAccordionContext, createAccordionScope] = createContextScope(ACCORDIO
|
|
|
6661
6664
|
createCollapsibleScope
|
|
6662
6665
|
]);
|
|
6663
6666
|
var useCollapsibleScope = createCollapsibleScope();
|
|
6664
|
-
var Accordion =
|
|
6667
|
+
var Accordion = import_react11.default.forwardRef(
|
|
6665
6668
|
(props, forwardedRef) => {
|
|
6666
6669
|
const { type, ...accordionProps } = props;
|
|
6667
6670
|
const singleProps = accordionProps;
|
|
@@ -6675,7 +6678,7 @@ var [AccordionCollapsibleProvider, useAccordionCollapsibleContext] = createAccor
|
|
|
6675
6678
|
ACCORDION_NAME,
|
|
6676
6679
|
{ collapsible: false }
|
|
6677
6680
|
);
|
|
6678
|
-
var AccordionImplSingle =
|
|
6681
|
+
var AccordionImplSingle = import_react11.default.forwardRef(
|
|
6679
6682
|
(props, forwardedRef) => {
|
|
6680
6683
|
const {
|
|
6681
6684
|
value: valueProp,
|
|
@@ -6695,15 +6698,15 @@ var AccordionImplSingle = import_react12.default.forwardRef(
|
|
|
6695
6698
|
AccordionValueProvider,
|
|
6696
6699
|
{
|
|
6697
6700
|
scope: props.__scopeAccordion,
|
|
6698
|
-
value:
|
|
6701
|
+
value: import_react11.default.useMemo(() => value ? [value] : [], [value]),
|
|
6699
6702
|
onItemOpen: setValue,
|
|
6700
|
-
onItemClose:
|
|
6703
|
+
onItemClose: import_react11.default.useCallback(() => collapsible && setValue(""), [collapsible, setValue]),
|
|
6701
6704
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })
|
|
6702
6705
|
}
|
|
6703
6706
|
);
|
|
6704
6707
|
}
|
|
6705
6708
|
);
|
|
6706
|
-
var AccordionImplMultiple =
|
|
6709
|
+
var AccordionImplMultiple = import_react11.default.forwardRef((props, forwardedRef) => {
|
|
6707
6710
|
const {
|
|
6708
6711
|
value: valueProp,
|
|
6709
6712
|
defaultValue,
|
|
@@ -6717,11 +6720,11 @@ var AccordionImplMultiple = import_react12.default.forwardRef((props, forwardedR
|
|
|
6717
6720
|
onChange: onValueChange,
|
|
6718
6721
|
caller: ACCORDION_NAME
|
|
6719
6722
|
});
|
|
6720
|
-
const handleItemOpen =
|
|
6723
|
+
const handleItemOpen = import_react11.default.useCallback(
|
|
6721
6724
|
(itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),
|
|
6722
6725
|
[setValue]
|
|
6723
6726
|
);
|
|
6724
|
-
const handleItemClose =
|
|
6727
|
+
const handleItemClose = import_react11.default.useCallback(
|
|
6725
6728
|
(itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),
|
|
6726
6729
|
[setValue]
|
|
6727
6730
|
);
|
|
@@ -6737,10 +6740,10 @@ var AccordionImplMultiple = import_react12.default.forwardRef((props, forwardedR
|
|
|
6737
6740
|
);
|
|
6738
6741
|
});
|
|
6739
6742
|
var [AccordionImplProvider, useAccordionContext] = createAccordionContext(ACCORDION_NAME);
|
|
6740
|
-
var AccordionImpl =
|
|
6743
|
+
var AccordionImpl = import_react11.default.forwardRef(
|
|
6741
6744
|
(props, forwardedRef) => {
|
|
6742
6745
|
const { __scopeAccordion, disabled, dir, orientation = "vertical", ...accordionProps } = props;
|
|
6743
|
-
const accordionRef =
|
|
6746
|
+
const accordionRef = import_react11.default.useRef(null);
|
|
6744
6747
|
const composedRefs = useComposedRefs(accordionRef, forwardedRef);
|
|
6745
6748
|
const getItems = useCollection(__scopeAccordion);
|
|
6746
6749
|
const direction = useDirection(dir);
|
|
@@ -6829,7 +6832,7 @@ var AccordionImpl = import_react12.default.forwardRef(
|
|
|
6829
6832
|
);
|
|
6830
6833
|
var ITEM_NAME = "AccordionItem";
|
|
6831
6834
|
var [AccordionItemProvider, useAccordionItemContext] = createAccordionContext(ITEM_NAME);
|
|
6832
|
-
var AccordionItem =
|
|
6835
|
+
var AccordionItem = import_react11.default.forwardRef(
|
|
6833
6836
|
(props, forwardedRef) => {
|
|
6834
6837
|
const { __scopeAccordion, value, ...accordionItemProps } = props;
|
|
6835
6838
|
const accordionContext = useAccordionContext(ITEM_NAME, __scopeAccordion);
|
|
@@ -6870,7 +6873,7 @@ var AccordionItem = import_react12.default.forwardRef(
|
|
|
6870
6873
|
);
|
|
6871
6874
|
AccordionItem.displayName = ITEM_NAME;
|
|
6872
6875
|
var HEADER_NAME = "AccordionHeader";
|
|
6873
|
-
var AccordionHeader =
|
|
6876
|
+
var AccordionHeader = import_react11.default.forwardRef(
|
|
6874
6877
|
(props, forwardedRef) => {
|
|
6875
6878
|
const { __scopeAccordion, ...headerProps } = props;
|
|
6876
6879
|
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
@@ -6889,7 +6892,7 @@ var AccordionHeader = import_react12.default.forwardRef(
|
|
|
6889
6892
|
);
|
|
6890
6893
|
AccordionHeader.displayName = HEADER_NAME;
|
|
6891
6894
|
var TRIGGER_NAME3 = "AccordionTrigger";
|
|
6892
|
-
var AccordionTrigger =
|
|
6895
|
+
var AccordionTrigger = import_react11.default.forwardRef(
|
|
6893
6896
|
(props, forwardedRef) => {
|
|
6894
6897
|
const { __scopeAccordion, ...triggerProps } = props;
|
|
6895
6898
|
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
@@ -6911,7 +6914,7 @@ var AccordionTrigger = import_react12.default.forwardRef(
|
|
|
6911
6914
|
);
|
|
6912
6915
|
AccordionTrigger.displayName = TRIGGER_NAME3;
|
|
6913
6916
|
var CONTENT_NAME3 = "AccordionContent";
|
|
6914
|
-
var AccordionContent =
|
|
6917
|
+
var AccordionContent = import_react11.default.forwardRef(
|
|
6915
6918
|
(props, forwardedRef) => {
|
|
6916
6919
|
const { __scopeAccordion, ...contentProps } = props;
|
|
6917
6920
|
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
@@ -6945,12 +6948,12 @@ var Trigger22 = AccordionTrigger;
|
|
|
6945
6948
|
var Content22 = AccordionContent;
|
|
6946
6949
|
|
|
6947
6950
|
// src/libraries/react/components/checkout-dialog/checkout-dialog-synced.tsx
|
|
6948
|
-
var
|
|
6951
|
+
var import_react13 = require("react");
|
|
6949
6952
|
|
|
6950
6953
|
// src/libraries/react/components/ui/accordion.tsx
|
|
6951
|
-
var
|
|
6954
|
+
var React32 = __toESM(require("react"));
|
|
6952
6955
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
6953
|
-
var AccordionItem2 =
|
|
6956
|
+
var AccordionItem2 = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6954
6957
|
Item,
|
|
6955
6958
|
{
|
|
6956
6959
|
ref,
|
|
@@ -6959,7 +6962,7 @@ var AccordionItem2 = React33.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
6959
6962
|
}
|
|
6960
6963
|
));
|
|
6961
6964
|
AccordionItem2.displayName = "AccordionItem";
|
|
6962
|
-
var AccordionTrigger2 =
|
|
6965
|
+
var AccordionTrigger2 = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Header, { className: "au-flex", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
6963
6966
|
Trigger22,
|
|
6964
6967
|
{
|
|
6965
6968
|
ref,
|
|
@@ -6975,7 +6978,7 @@ var AccordionTrigger2 = React33.forwardRef(({ className, children, ...props }, r
|
|
|
6975
6978
|
}
|
|
6976
6979
|
) }));
|
|
6977
6980
|
AccordionTrigger2.displayName = Trigger22.displayName;
|
|
6978
|
-
var AccordionContent2 =
|
|
6981
|
+
var AccordionContent2 = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
6979
6982
|
Content22,
|
|
6980
6983
|
{
|
|
6981
6984
|
ref,
|
|
@@ -6987,9 +6990,9 @@ var AccordionContent2 = React33.forwardRef(({ className, children, ...props }, r
|
|
|
6987
6990
|
AccordionContent2.displayName = Content22.displayName;
|
|
6988
6991
|
|
|
6989
6992
|
// src/libraries/react/components/ui/input.tsx
|
|
6990
|
-
var
|
|
6993
|
+
var React33 = __toESM(require("react"));
|
|
6991
6994
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
6992
|
-
var Input =
|
|
6995
|
+
var Input = React33.forwardRef(
|
|
6993
6996
|
({ className, type, onClick, ...props }, ref) => {
|
|
6994
6997
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
6995
6998
|
"input",
|
|
@@ -7008,14 +7011,14 @@ var Input = React34.forwardRef(
|
|
|
7008
7011
|
Input.displayName = "Input";
|
|
7009
7012
|
|
|
7010
7013
|
// src/libraries/react/components/ui/popover.tsx
|
|
7011
|
-
var
|
|
7012
|
-
|
|
7013
|
-
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19._2d5qzp46jobjymz4ef7wsko3em/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
7014
|
-
var React39 = __toESM(require("react"), 1);
|
|
7014
|
+
var React39 = __toESM(require("react"));
|
|
7015
7015
|
|
|
7016
|
-
// ../node_modules/.pnpm/@radix-ui+react-
|
|
7016
|
+
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+rea_7dcdc05da085c6edc7a3ccd5a7a64752/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
7017
7017
|
var React38 = __toESM(require("react"), 1);
|
|
7018
7018
|
|
|
7019
|
+
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_0c31f50dea33b01a277521250dd56989/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
7020
|
+
var React37 = __toESM(require("react"), 1);
|
|
7021
|
+
|
|
7019
7022
|
// ../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
7020
7023
|
var sides = ["top", "right", "bottom", "left"];
|
|
7021
7024
|
var min = Math.min;
|
|
@@ -8614,14 +8617,14 @@ var computePosition2 = (reference, floating, options) => {
|
|
|
8614
8617
|
});
|
|
8615
8618
|
};
|
|
8616
8619
|
|
|
8617
|
-
// ../node_modules/.pnpm/@floating-ui+react-dom@2.1.5_react-dom@19.1.1_react@19.
|
|
8618
|
-
var
|
|
8619
|
-
var
|
|
8620
|
+
// ../node_modules/.pnpm/@floating-ui+react-dom@2.1.5_react-dom@19.1.1_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
8621
|
+
var React34 = __toESM(require("react"), 1);
|
|
8622
|
+
var import_react12 = require("react");
|
|
8620
8623
|
var ReactDOM3 = __toESM(require("react-dom"), 1);
|
|
8621
8624
|
var isClient = typeof document !== "undefined";
|
|
8622
8625
|
var noop = function noop2() {
|
|
8623
8626
|
};
|
|
8624
|
-
var index = isClient ?
|
|
8627
|
+
var index = isClient ? import_react12.useLayoutEffect : noop;
|
|
8625
8628
|
function deepEqual(a, b) {
|
|
8626
8629
|
if (a === b) {
|
|
8627
8630
|
return true;
|
|
@@ -8681,7 +8684,7 @@ function roundByDPR(element, value) {
|
|
|
8681
8684
|
return Math.round(value * dpr) / dpr;
|
|
8682
8685
|
}
|
|
8683
8686
|
function useLatestRef(value) {
|
|
8684
|
-
const ref =
|
|
8687
|
+
const ref = React34.useRef(value);
|
|
8685
8688
|
index(() => {
|
|
8686
8689
|
ref.current = value;
|
|
8687
8690
|
});
|
|
@@ -8704,7 +8707,7 @@ function useFloating(options) {
|
|
|
8704
8707
|
whileElementsMounted,
|
|
8705
8708
|
open
|
|
8706
8709
|
} = options;
|
|
8707
|
-
const [data, setData] =
|
|
8710
|
+
const [data, setData] = React34.useState({
|
|
8708
8711
|
x: 0,
|
|
8709
8712
|
y: 0,
|
|
8710
8713
|
strategy,
|
|
@@ -8712,19 +8715,19 @@ function useFloating(options) {
|
|
|
8712
8715
|
middlewareData: {},
|
|
8713
8716
|
isPositioned: false
|
|
8714
8717
|
});
|
|
8715
|
-
const [latestMiddleware, setLatestMiddleware] =
|
|
8718
|
+
const [latestMiddleware, setLatestMiddleware] = React34.useState(middleware);
|
|
8716
8719
|
if (!deepEqual(latestMiddleware, middleware)) {
|
|
8717
8720
|
setLatestMiddleware(middleware);
|
|
8718
8721
|
}
|
|
8719
|
-
const [_reference, _setReference] =
|
|
8720
|
-
const [_floating, _setFloating] =
|
|
8721
|
-
const setReference =
|
|
8722
|
+
const [_reference, _setReference] = React34.useState(null);
|
|
8723
|
+
const [_floating, _setFloating] = React34.useState(null);
|
|
8724
|
+
const setReference = React34.useCallback((node) => {
|
|
8722
8725
|
if (node !== referenceRef.current) {
|
|
8723
8726
|
referenceRef.current = node;
|
|
8724
8727
|
_setReference(node);
|
|
8725
8728
|
}
|
|
8726
8729
|
}, []);
|
|
8727
|
-
const setFloating =
|
|
8730
|
+
const setFloating = React34.useCallback((node) => {
|
|
8728
8731
|
if (node !== floatingRef.current) {
|
|
8729
8732
|
floatingRef.current = node;
|
|
8730
8733
|
_setFloating(node);
|
|
@@ -8732,14 +8735,14 @@ function useFloating(options) {
|
|
|
8732
8735
|
}, []);
|
|
8733
8736
|
const referenceEl = externalReference || _reference;
|
|
8734
8737
|
const floatingEl = externalFloating || _floating;
|
|
8735
|
-
const referenceRef =
|
|
8736
|
-
const floatingRef =
|
|
8737
|
-
const dataRef =
|
|
8738
|
+
const referenceRef = React34.useRef(null);
|
|
8739
|
+
const floatingRef = React34.useRef(null);
|
|
8740
|
+
const dataRef = React34.useRef(data);
|
|
8738
8741
|
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
8739
8742
|
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
8740
8743
|
const platformRef = useLatestRef(platform2);
|
|
8741
8744
|
const openRef = useLatestRef(open);
|
|
8742
|
-
const update =
|
|
8745
|
+
const update = React34.useCallback(() => {
|
|
8743
8746
|
if (!referenceRef.current || !floatingRef.current) {
|
|
8744
8747
|
return;
|
|
8745
8748
|
}
|
|
@@ -8777,7 +8780,7 @@ function useFloating(options) {
|
|
|
8777
8780
|
}));
|
|
8778
8781
|
}
|
|
8779
8782
|
}, [open]);
|
|
8780
|
-
const isMountedRef =
|
|
8783
|
+
const isMountedRef = React34.useRef(false);
|
|
8781
8784
|
index(() => {
|
|
8782
8785
|
isMountedRef.current = true;
|
|
8783
8786
|
return () => {
|
|
@@ -8794,17 +8797,17 @@ function useFloating(options) {
|
|
|
8794
8797
|
update();
|
|
8795
8798
|
}
|
|
8796
8799
|
}, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
|
|
8797
|
-
const refs =
|
|
8800
|
+
const refs = React34.useMemo(() => ({
|
|
8798
8801
|
reference: referenceRef,
|
|
8799
8802
|
floating: floatingRef,
|
|
8800
8803
|
setReference,
|
|
8801
8804
|
setFloating
|
|
8802
8805
|
}), [setReference, setFloating]);
|
|
8803
|
-
const elements =
|
|
8806
|
+
const elements = React34.useMemo(() => ({
|
|
8804
8807
|
reference: referenceEl,
|
|
8805
8808
|
floating: floatingEl
|
|
8806
8809
|
}), [referenceEl, floatingEl]);
|
|
8807
|
-
const floatingStyles =
|
|
8810
|
+
const floatingStyles = React34.useMemo(() => {
|
|
8808
8811
|
const initialStyles = {
|
|
8809
8812
|
position: strategy,
|
|
8810
8813
|
left: 0,
|
|
@@ -8830,7 +8833,7 @@ function useFloating(options) {
|
|
|
8830
8833
|
top: y
|
|
8831
8834
|
};
|
|
8832
8835
|
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
8833
|
-
return
|
|
8836
|
+
return React34.useMemo(() => ({
|
|
8834
8837
|
...data,
|
|
8835
8838
|
update,
|
|
8836
8839
|
refs,
|
|
@@ -8898,11 +8901,11 @@ var arrow3 = (options, deps) => ({
|
|
|
8898
8901
|
options: [options, deps]
|
|
8899
8902
|
});
|
|
8900
8903
|
|
|
8901
|
-
// ../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.
|
|
8902
|
-
var
|
|
8904
|
+
// ../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react@_88d54fdbc405d6af96f581377bbdca87/node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
8905
|
+
var React35 = __toESM(require("react"), 1);
|
|
8903
8906
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
8904
8907
|
var NAME = "Arrow";
|
|
8905
|
-
var Arrow =
|
|
8908
|
+
var Arrow = React35.forwardRef((props, forwardedRef) => {
|
|
8906
8909
|
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
8907
8910
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
8908
8911
|
Primitive.svg,
|
|
@@ -8920,10 +8923,10 @@ var Arrow = React36.forwardRef((props, forwardedRef) => {
|
|
|
8920
8923
|
Arrow.displayName = NAME;
|
|
8921
8924
|
var Root3 = Arrow;
|
|
8922
8925
|
|
|
8923
|
-
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.1.10_react@19.
|
|
8924
|
-
var
|
|
8926
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
8927
|
+
var React36 = __toESM(require("react"), 1);
|
|
8925
8928
|
function useSize(element) {
|
|
8926
|
-
const [size4, setSize] =
|
|
8929
|
+
const [size4, setSize] = React36.useState(void 0);
|
|
8927
8930
|
useLayoutEffect2(() => {
|
|
8928
8931
|
if (element) {
|
|
8929
8932
|
setSize({ width: element.offsetWidth, height: element.offsetHeight });
|
|
@@ -8957,25 +8960,25 @@ function useSize(element) {
|
|
|
8957
8960
|
return size4;
|
|
8958
8961
|
}
|
|
8959
8962
|
|
|
8960
|
-
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.
|
|
8963
|
+
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_0c31f50dea33b01a277521250dd56989/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
8961
8964
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
8962
8965
|
var POPPER_NAME = "Popper";
|
|
8963
8966
|
var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
|
|
8964
8967
|
var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
|
|
8965
8968
|
var Popper = (props) => {
|
|
8966
8969
|
const { __scopePopper, children } = props;
|
|
8967
|
-
const [anchor, setAnchor] =
|
|
8970
|
+
const [anchor, setAnchor] = React37.useState(null);
|
|
8968
8971
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
|
|
8969
8972
|
};
|
|
8970
8973
|
Popper.displayName = POPPER_NAME;
|
|
8971
8974
|
var ANCHOR_NAME = "PopperAnchor";
|
|
8972
|
-
var PopperAnchor =
|
|
8975
|
+
var PopperAnchor = React37.forwardRef(
|
|
8973
8976
|
(props, forwardedRef) => {
|
|
8974
8977
|
const { __scopePopper, virtualRef, ...anchorProps } = props;
|
|
8975
8978
|
const context = usePopperContext(ANCHOR_NAME, __scopePopper);
|
|
8976
|
-
const ref =
|
|
8979
|
+
const ref = React37.useRef(null);
|
|
8977
8980
|
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
8978
|
-
|
|
8981
|
+
React37.useEffect(() => {
|
|
8979
8982
|
context.onAnchorChange(virtualRef?.current || ref.current);
|
|
8980
8983
|
});
|
|
8981
8984
|
return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
|
|
@@ -8984,7 +8987,7 @@ var PopperAnchor = React38.forwardRef(
|
|
|
8984
8987
|
PopperAnchor.displayName = ANCHOR_NAME;
|
|
8985
8988
|
var CONTENT_NAME4 = "PopperContent";
|
|
8986
8989
|
var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME4);
|
|
8987
|
-
var PopperContent =
|
|
8990
|
+
var PopperContent = React37.forwardRef(
|
|
8988
8991
|
(props, forwardedRef) => {
|
|
8989
8992
|
const {
|
|
8990
8993
|
__scopePopper,
|
|
@@ -9003,9 +9006,9 @@ var PopperContent = React38.forwardRef(
|
|
|
9003
9006
|
...contentProps
|
|
9004
9007
|
} = props;
|
|
9005
9008
|
const context = usePopperContext(CONTENT_NAME4, __scopePopper);
|
|
9006
|
-
const [content, setContent] =
|
|
9009
|
+
const [content, setContent] = React37.useState(null);
|
|
9007
9010
|
const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
|
|
9008
|
-
const [arrow4, setArrow] =
|
|
9011
|
+
const [arrow4, setArrow] = React37.useState(null);
|
|
9009
9012
|
const arrowSize = useSize(arrow4);
|
|
9010
9013
|
const arrowWidth = arrowSize?.width ?? 0;
|
|
9011
9014
|
const arrowHeight = arrowSize?.height ?? 0;
|
|
@@ -9067,7 +9070,7 @@ var PopperContent = React38.forwardRef(
|
|
|
9067
9070
|
const arrowX = middlewareData.arrow?.x;
|
|
9068
9071
|
const arrowY = middlewareData.arrow?.y;
|
|
9069
9072
|
const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
|
|
9070
|
-
const [contentZIndex, setContentZIndex] =
|
|
9073
|
+
const [contentZIndex, setContentZIndex] = React37.useState();
|
|
9071
9074
|
useLayoutEffect2(() => {
|
|
9072
9075
|
if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
9073
9076
|
}, [content]);
|
|
@@ -9133,7 +9136,7 @@ var OPPOSITE_SIDE = {
|
|
|
9133
9136
|
bottom: "top",
|
|
9134
9137
|
left: "right"
|
|
9135
9138
|
};
|
|
9136
|
-
var PopperArrow =
|
|
9139
|
+
var PopperArrow = React37.forwardRef(function PopperArrow2(props, forwardedRef) {
|
|
9137
9140
|
const { __scopePopper, ...arrowProps } = props;
|
|
9138
9141
|
const contentContext = useContentContext(ARROW_NAME, __scopePopper);
|
|
9139
9142
|
const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
|
|
@@ -9224,7 +9227,7 @@ var Anchor = PopperAnchor;
|
|
|
9224
9227
|
var Content3 = PopperContent;
|
|
9225
9228
|
var Arrow2 = PopperArrow;
|
|
9226
9229
|
|
|
9227
|
-
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.
|
|
9230
|
+
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.2.3_@types+react@19.1.10__@types+rea_7dcdc05da085c6edc7a3ccd5a7a64752/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
9228
9231
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
9229
9232
|
var POPOVER_NAME = "Popover";
|
|
9230
9233
|
var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
|
|
@@ -9242,8 +9245,8 @@ var Popover = (props) => {
|
|
|
9242
9245
|
modal = false
|
|
9243
9246
|
} = props;
|
|
9244
9247
|
const popperScope = usePopperScope(__scopePopover);
|
|
9245
|
-
const triggerRef =
|
|
9246
|
-
const [hasCustomAnchor, setHasCustomAnchor] =
|
|
9248
|
+
const triggerRef = React38.useRef(null);
|
|
9249
|
+
const [hasCustomAnchor, setHasCustomAnchor] = React38.useState(false);
|
|
9247
9250
|
const [open, setOpen] = useControllableState({
|
|
9248
9251
|
prop: openProp,
|
|
9249
9252
|
defaultProp: defaultOpen ?? false,
|
|
@@ -9258,10 +9261,10 @@ var Popover = (props) => {
|
|
|
9258
9261
|
triggerRef,
|
|
9259
9262
|
open,
|
|
9260
9263
|
onOpenChange: setOpen,
|
|
9261
|
-
onOpenToggle:
|
|
9264
|
+
onOpenToggle: React38.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
9262
9265
|
hasCustomAnchor,
|
|
9263
|
-
onCustomAnchorAdd:
|
|
9264
|
-
onCustomAnchorRemove:
|
|
9266
|
+
onCustomAnchorAdd: React38.useCallback(() => setHasCustomAnchor(true), []),
|
|
9267
|
+
onCustomAnchorRemove: React38.useCallback(() => setHasCustomAnchor(false), []),
|
|
9265
9268
|
modal,
|
|
9266
9269
|
children
|
|
9267
9270
|
}
|
|
@@ -9269,13 +9272,13 @@ var Popover = (props) => {
|
|
|
9269
9272
|
};
|
|
9270
9273
|
Popover.displayName = POPOVER_NAME;
|
|
9271
9274
|
var ANCHOR_NAME2 = "PopoverAnchor";
|
|
9272
|
-
var PopoverAnchor =
|
|
9275
|
+
var PopoverAnchor = React38.forwardRef(
|
|
9273
9276
|
(props, forwardedRef) => {
|
|
9274
9277
|
const { __scopePopover, ...anchorProps } = props;
|
|
9275
9278
|
const context = usePopoverContext(ANCHOR_NAME2, __scopePopover);
|
|
9276
9279
|
const popperScope = usePopperScope(__scopePopover);
|
|
9277
9280
|
const { onCustomAnchorAdd, onCustomAnchorRemove } = context;
|
|
9278
|
-
|
|
9281
|
+
React38.useEffect(() => {
|
|
9279
9282
|
onCustomAnchorAdd();
|
|
9280
9283
|
return () => onCustomAnchorRemove();
|
|
9281
9284
|
}, [onCustomAnchorAdd, onCustomAnchorRemove]);
|
|
@@ -9284,7 +9287,7 @@ var PopoverAnchor = React39.forwardRef(
|
|
|
9284
9287
|
);
|
|
9285
9288
|
PopoverAnchor.displayName = ANCHOR_NAME2;
|
|
9286
9289
|
var TRIGGER_NAME4 = "PopoverTrigger";
|
|
9287
|
-
var PopoverTrigger =
|
|
9290
|
+
var PopoverTrigger = React38.forwardRef(
|
|
9288
9291
|
(props, forwardedRef) => {
|
|
9289
9292
|
const { __scopePopover, ...triggerProps } = props;
|
|
9290
9293
|
const context = usePopoverContext(TRIGGER_NAME4, __scopePopover);
|
|
@@ -9318,7 +9321,7 @@ var PopoverPortal = (props) => {
|
|
|
9318
9321
|
};
|
|
9319
9322
|
PopoverPortal.displayName = PORTAL_NAME3;
|
|
9320
9323
|
var CONTENT_NAME5 = "PopoverContent";
|
|
9321
|
-
var PopoverContent =
|
|
9324
|
+
var PopoverContent = React38.forwardRef(
|
|
9322
9325
|
(props, forwardedRef) => {
|
|
9323
9326
|
const portalContext = usePortalContext2(CONTENT_NAME5, props.__scopePopover);
|
|
9324
9327
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
@@ -9328,13 +9331,13 @@ var PopoverContent = React39.forwardRef(
|
|
|
9328
9331
|
);
|
|
9329
9332
|
PopoverContent.displayName = CONTENT_NAME5;
|
|
9330
9333
|
var Slot3 = createSlot("PopoverContent.RemoveScroll");
|
|
9331
|
-
var PopoverContentModal =
|
|
9334
|
+
var PopoverContentModal = React38.forwardRef(
|
|
9332
9335
|
(props, forwardedRef) => {
|
|
9333
9336
|
const context = usePopoverContext(CONTENT_NAME5, props.__scopePopover);
|
|
9334
|
-
const contentRef =
|
|
9337
|
+
const contentRef = React38.useRef(null);
|
|
9335
9338
|
const composedRefs = useComposedRefs(forwardedRef, contentRef);
|
|
9336
|
-
const isRightClickOutsideRef =
|
|
9337
|
-
|
|
9339
|
+
const isRightClickOutsideRef = React38.useRef(false);
|
|
9340
|
+
React38.useEffect(() => {
|
|
9338
9341
|
const content = contentRef.current;
|
|
9339
9342
|
if (content) return hideOthers(content);
|
|
9340
9343
|
}, []);
|
|
@@ -9368,11 +9371,11 @@ var PopoverContentModal = React39.forwardRef(
|
|
|
9368
9371
|
) });
|
|
9369
9372
|
}
|
|
9370
9373
|
);
|
|
9371
|
-
var PopoverContentNonModal =
|
|
9374
|
+
var PopoverContentNonModal = React38.forwardRef(
|
|
9372
9375
|
(props, forwardedRef) => {
|
|
9373
9376
|
const context = usePopoverContext(CONTENT_NAME5, props.__scopePopover);
|
|
9374
|
-
const hasInteractedOutsideRef =
|
|
9375
|
-
const hasPointerDownOutsideRef =
|
|
9377
|
+
const hasInteractedOutsideRef = React38.useRef(false);
|
|
9378
|
+
const hasPointerDownOutsideRef = React38.useRef(false);
|
|
9376
9379
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
9377
9380
|
PopoverContentImpl,
|
|
9378
9381
|
{
|
|
@@ -9408,7 +9411,7 @@ var PopoverContentNonModal = React39.forwardRef(
|
|
|
9408
9411
|
);
|
|
9409
9412
|
}
|
|
9410
9413
|
);
|
|
9411
|
-
var PopoverContentImpl =
|
|
9414
|
+
var PopoverContentImpl = React38.forwardRef(
|
|
9412
9415
|
(props, forwardedRef) => {
|
|
9413
9416
|
const {
|
|
9414
9417
|
__scopePopover,
|
|
@@ -9472,7 +9475,7 @@ var PopoverContentImpl = React39.forwardRef(
|
|
|
9472
9475
|
}
|
|
9473
9476
|
);
|
|
9474
9477
|
var CLOSE_NAME2 = "PopoverClose";
|
|
9475
|
-
var PopoverClose =
|
|
9478
|
+
var PopoverClose = React38.forwardRef(
|
|
9476
9479
|
(props, forwardedRef) => {
|
|
9477
9480
|
const { __scopePopover, ...closeProps } = props;
|
|
9478
9481
|
const context = usePopoverContext(CLOSE_NAME2, __scopePopover);
|
|
@@ -9489,7 +9492,7 @@ var PopoverClose = React39.forwardRef(
|
|
|
9489
9492
|
);
|
|
9490
9493
|
PopoverClose.displayName = CLOSE_NAME2;
|
|
9491
9494
|
var ARROW_NAME2 = "PopoverArrow";
|
|
9492
|
-
var PopoverArrow =
|
|
9495
|
+
var PopoverArrow = React38.forwardRef(
|
|
9493
9496
|
(props, forwardedRef) => {
|
|
9494
9497
|
const { __scopePopover, ...arrowProps } = props;
|
|
9495
9498
|
const popperScope = usePopperScope(__scopePopover);
|
|
@@ -9504,7 +9507,7 @@ var Content23 = PopoverContent;
|
|
|
9504
9507
|
|
|
9505
9508
|
// src/libraries/react/components/ui/popover.tsx
|
|
9506
9509
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
9507
|
-
var PopoverContent2 =
|
|
9510
|
+
var PopoverContent2 = React39.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
9508
9511
|
Content23,
|
|
9509
9512
|
{
|
|
9510
9513
|
ref,
|
|
@@ -9526,20 +9529,20 @@ var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
|
9526
9529
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
9527
9530
|
|
|
9528
9531
|
// src/libraries/react/components/pricing-table/pricing-table-synced.tsx
|
|
9529
|
-
var
|
|
9530
|
-
var
|
|
9532
|
+
var import_react14 = __toESM(require("react"));
|
|
9533
|
+
var import_react15 = require("react");
|
|
9531
9534
|
|
|
9532
9535
|
// src/libraries/react/components/ui/switch.tsx
|
|
9533
|
-
var
|
|
9534
|
-
|
|
9535
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._mh2w7rehnd5adfujfuln6l4w5m/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
9536
|
-
var React42 = __toESM(require("react"), 1);
|
|
9536
|
+
var React42 = __toESM(require("react"));
|
|
9537
9537
|
|
|
9538
|
-
// ../node_modules/.pnpm/@radix-ui+react-
|
|
9538
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_df0c661b2d4b00af83e83e256ae42763/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
9539
9539
|
var React41 = __toESM(require("react"), 1);
|
|
9540
|
+
|
|
9541
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
9542
|
+
var React40 = __toESM(require("react"), 1);
|
|
9540
9543
|
function usePrevious(value) {
|
|
9541
|
-
const ref =
|
|
9542
|
-
return
|
|
9544
|
+
const ref = React40.useRef({ value, previous: value });
|
|
9545
|
+
return React40.useMemo(() => {
|
|
9543
9546
|
if (ref.current.value !== value) {
|
|
9544
9547
|
ref.current.previous = ref.current.value;
|
|
9545
9548
|
ref.current.value = value;
|
|
@@ -9548,12 +9551,12 @@ function usePrevious(value) {
|
|
|
9548
9551
|
}, [value]);
|
|
9549
9552
|
}
|
|
9550
9553
|
|
|
9551
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.
|
|
9554
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.2.3_@types+react@19.1.10__@types+react_df0c661b2d4b00af83e83e256ae42763/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
9552
9555
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
9553
9556
|
var SWITCH_NAME = "Switch";
|
|
9554
9557
|
var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
|
|
9555
9558
|
var [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);
|
|
9556
|
-
var Switch =
|
|
9559
|
+
var Switch = React41.forwardRef(
|
|
9557
9560
|
(props, forwardedRef) => {
|
|
9558
9561
|
const {
|
|
9559
9562
|
__scopeSwitch,
|
|
@@ -9567,9 +9570,9 @@ var Switch = React42.forwardRef(
|
|
|
9567
9570
|
form,
|
|
9568
9571
|
...switchProps
|
|
9569
9572
|
} = props;
|
|
9570
|
-
const [button, setButton] =
|
|
9573
|
+
const [button, setButton] = React41.useState(null);
|
|
9571
9574
|
const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));
|
|
9572
|
-
const hasConsumerStoppedPropagationRef =
|
|
9575
|
+
const hasConsumerStoppedPropagationRef = React41.useRef(false);
|
|
9573
9576
|
const isFormControl = button ? form || !!button.closest("form") : true;
|
|
9574
9577
|
const [checked, setChecked] = useControllableState({
|
|
9575
9578
|
prop: checkedProp,
|
|
@@ -9619,7 +9622,7 @@ var Switch = React42.forwardRef(
|
|
|
9619
9622
|
);
|
|
9620
9623
|
Switch.displayName = SWITCH_NAME;
|
|
9621
9624
|
var THUMB_NAME = "SwitchThumb";
|
|
9622
|
-
var SwitchThumb =
|
|
9625
|
+
var SwitchThumb = React41.forwardRef(
|
|
9623
9626
|
(props, forwardedRef) => {
|
|
9624
9627
|
const { __scopeSwitch, ...thumbProps } = props;
|
|
9625
9628
|
const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
|
|
@@ -9636,7 +9639,7 @@ var SwitchThumb = React42.forwardRef(
|
|
|
9636
9639
|
);
|
|
9637
9640
|
SwitchThumb.displayName = THUMB_NAME;
|
|
9638
9641
|
var BUBBLE_INPUT_NAME = "SwitchBubbleInput";
|
|
9639
|
-
var SwitchBubbleInput =
|
|
9642
|
+
var SwitchBubbleInput = React41.forwardRef(
|
|
9640
9643
|
({
|
|
9641
9644
|
__scopeSwitch,
|
|
9642
9645
|
control,
|
|
@@ -9644,11 +9647,11 @@ var SwitchBubbleInput = React42.forwardRef(
|
|
|
9644
9647
|
bubbles = true,
|
|
9645
9648
|
...props
|
|
9646
9649
|
}, forwardedRef) => {
|
|
9647
|
-
const ref =
|
|
9650
|
+
const ref = React41.useRef(null);
|
|
9648
9651
|
const composedRefs = useComposedRefs(ref, forwardedRef);
|
|
9649
9652
|
const prevChecked = usePrevious(checked);
|
|
9650
9653
|
const controlSize = useSize(control);
|
|
9651
|
-
|
|
9654
|
+
React41.useEffect(() => {
|
|
9652
9655
|
const input = ref.current;
|
|
9653
9656
|
if (!input) return;
|
|
9654
9657
|
const inputProto = window.HTMLInputElement.prototype;
|
|
@@ -9693,7 +9696,7 @@ var Thumb = SwitchThumb;
|
|
|
9693
9696
|
|
|
9694
9697
|
// src/libraries/react/components/ui/switch.tsx
|
|
9695
9698
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
9696
|
-
var Switch2 =
|
|
9699
|
+
var Switch2 = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
9697
9700
|
Root4,
|
|
9698
9701
|
{
|
|
9699
9702
|
className: cn(
|
|
@@ -9735,15 +9738,15 @@ if (typeof document !== "undefined") {
|
|
|
9735
9738
|
|
|
9736
9739
|
// src/libraries/react/components/pricing-table/pricing-table-synced.tsx
|
|
9737
9740
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
9738
|
-
var PricingTableContext = (0,
|
|
9741
|
+
var PricingTableContext = (0, import_react15.createContext)({
|
|
9739
9742
|
isAnnualToggle: false,
|
|
9740
9743
|
setIsAnnualToggle: () => {
|
|
9741
9744
|
},
|
|
9742
9745
|
products: [],
|
|
9743
9746
|
showFeatures: true
|
|
9744
9747
|
});
|
|
9745
|
-
var PricingCardButton =
|
|
9746
|
-
const [loading, setLoading] = (0,
|
|
9748
|
+
var PricingCardButton = import_react14.default.forwardRef(({ recommended, children, className, onClick, ...props }, ref) => {
|
|
9749
|
+
const [loading, setLoading] = (0, import_react15.useState)(false);
|
|
9747
9750
|
const handleClick = async (e) => {
|
|
9748
9751
|
setLoading(true);
|
|
9749
9752
|
try {
|