@jmruthers/pace-core 0.5.60 → 0.5.61

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 (161) hide show
  1. package/README.md +2 -2
  2. package/dist/{PublicLoadingSpinner-SL8WaQN7.d.ts → PublicLoadingSpinner-CrMOrhNz.d.ts} +4 -28
  3. package/dist/{chunk-SFMRBGGK.js → chunk-44SAHU2N.js} +133 -134
  4. package/dist/chunk-44SAHU2N.js.map +1 -0
  5. package/dist/{chunk-ITPVFKDH.js → chunk-4ULBJNIT.js} +128 -11
  6. package/dist/chunk-4ULBJNIT.js.map +1 -0
  7. package/dist/{chunk-NMNDTCOR.js → chunk-HFDYTSAP.js} +2 -2
  8. package/dist/{chunk-NQ4TOOO6.js → chunk-L3RV2ALE.js} +1 -1
  9. package/dist/chunk-L3RV2ALE.js.map +1 -0
  10. package/dist/components.d.ts +2 -2
  11. package/dist/components.js +3 -5
  12. package/dist/components.js.map +1 -1
  13. package/dist/hooks.d.ts +3 -63
  14. package/dist/hooks.js +28 -143
  15. package/dist/hooks.js.map +1 -1
  16. package/dist/index.d.ts +4 -4
  17. package/dist/index.js +6 -6
  18. package/dist/index.js.map +1 -1
  19. package/dist/{organisation-t-vvQC3g.d.ts → organisation-DD0yBbGU.d.ts} +1 -1
  20. package/dist/providers.d.ts +2 -2
  21. package/dist/styles/index.d.ts +1 -1
  22. package/dist/styles/index.js +1 -1
  23. package/dist/{usePublicRouteParams-CdoFxnJK.d.ts → usePublicRouteParams-Cu6oKazv.d.ts} +63 -2
  24. package/docs/README.md +1 -1
  25. package/docs/api/README.md +2 -2
  26. package/docs/api/classes/ErrorBoundary.md +1 -1
  27. package/docs/api/classes/InvalidScopeError.md +1 -1
  28. package/docs/api/classes/MissingUserContextError.md +1 -1
  29. package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
  30. package/docs/api/classes/PermissionDeniedError.md +1 -1
  31. package/docs/api/classes/PublicErrorBoundary.md +1 -1
  32. package/docs/api/classes/RBACAuditManager.md +1 -1
  33. package/docs/api/classes/RBACCache.md +1 -1
  34. package/docs/api/classes/RBACEngine.md +1 -1
  35. package/docs/api/classes/RBACError.md +1 -1
  36. package/docs/api/classes/RBACNotInitializedError.md +1 -1
  37. package/docs/api/classes/SecureSupabaseClient.md +1 -1
  38. package/docs/api/classes/StorageUtils.md +1 -1
  39. package/docs/api/interfaces/AggregateConfig.md +1 -1
  40. package/docs/api/interfaces/ButtonProps.md +1 -1
  41. package/docs/api/interfaces/CardProps.md +1 -1
  42. package/docs/api/interfaces/ColorPalette.md +1 -1
  43. package/docs/api/interfaces/ColorShade.md +1 -1
  44. package/docs/api/interfaces/DataAccessRecord.md +1 -1
  45. package/docs/api/interfaces/DataTableAction.md +1 -1
  46. package/docs/api/interfaces/DataTableColumn.md +1 -1
  47. package/docs/api/interfaces/DataTableProps.md +1 -1
  48. package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
  49. package/docs/api/interfaces/EmptyStateConfig.md +1 -1
  50. package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
  51. package/docs/api/interfaces/EventContextType.md +1 -1
  52. package/docs/api/interfaces/EventLogoProps.md +1 -1
  53. package/docs/api/interfaces/EventProviderProps.md +1 -1
  54. package/docs/api/interfaces/FileSizeLimits.md +1 -1
  55. package/docs/api/interfaces/FileUploadProps.md +1 -1
  56. package/docs/api/interfaces/FooterProps.md +1 -1
  57. package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
  58. package/docs/api/interfaces/InputProps.md +1 -1
  59. package/docs/api/interfaces/LabelProps.md +1 -1
  60. package/docs/api/interfaces/LoginFormProps.md +1 -1
  61. package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
  62. package/docs/api/interfaces/NavigationContextType.md +1 -1
  63. package/docs/api/interfaces/NavigationGuardProps.md +1 -1
  64. package/docs/api/interfaces/NavigationItem.md +1 -1
  65. package/docs/api/interfaces/NavigationMenuProps.md +1 -1
  66. package/docs/api/interfaces/NavigationProviderProps.md +1 -1
  67. package/docs/api/interfaces/Organisation.md +1 -1
  68. package/docs/api/interfaces/OrganisationContextType.md +1 -1
  69. package/docs/api/interfaces/OrganisationMembership.md +1 -1
  70. package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
  71. package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
  72. package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
  73. package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
  74. package/docs/api/interfaces/PageAccessRecord.md +1 -1
  75. package/docs/api/interfaces/PagePermissionContextType.md +1 -1
  76. package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
  77. package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
  78. package/docs/api/interfaces/PaletteData.md +1 -1
  79. package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
  80. package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
  81. package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
  82. package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
  83. package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
  84. package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
  85. package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
  86. package/docs/api/interfaces/RBACConfig.md +1 -1
  87. package/docs/api/interfaces/RBACContextType.md +1 -1
  88. package/docs/api/interfaces/RBACLogger.md +1 -1
  89. package/docs/api/interfaces/RBACProviderProps.md +1 -1
  90. package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
  91. package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
  92. package/docs/api/interfaces/RouteAccessRecord.md +1 -1
  93. package/docs/api/interfaces/RouteConfig.md +1 -1
  94. package/docs/api/interfaces/SecureDataContextType.md +1 -1
  95. package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
  96. package/docs/api/interfaces/StorageConfig.md +1 -1
  97. package/docs/api/interfaces/StorageFileInfo.md +1 -1
  98. package/docs/api/interfaces/StorageFileMetadata.md +1 -1
  99. package/docs/api/interfaces/StorageListOptions.md +1 -1
  100. package/docs/api/interfaces/StorageListResult.md +1 -1
  101. package/docs/api/interfaces/StorageUploadOptions.md +1 -1
  102. package/docs/api/interfaces/StorageUploadResult.md +1 -1
  103. package/docs/api/interfaces/StorageUrlOptions.md +1 -1
  104. package/docs/api/interfaces/StyleImport.md +1 -1
  105. package/docs/api/interfaces/ToastActionElement.md +1 -1
  106. package/docs/api/interfaces/ToastProps.md +1 -1
  107. package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
  108. package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
  109. package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
  110. package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
  111. package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
  112. package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
  113. package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
  114. package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
  115. package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
  116. package/docs/api/interfaces/UserEventAccess.md +1 -1
  117. package/docs/api/interfaces/UserMenuProps.md +1 -1
  118. package/docs/api/interfaces/UserProfile.md +1 -1
  119. package/docs/api/modules.md +37 -52
  120. package/docs/architecture/README.md +1 -3
  121. package/docs/consuming-app-example.md +3 -3
  122. package/docs/consuming-app-vite-config.md +1 -1
  123. package/docs/documentation-style-checklist.md +2 -2
  124. package/docs/getting-started/examples/basic-auth-app.md +2 -2
  125. package/docs/getting-started/installation.md +2 -2
  126. package/docs/getting-started/quick-start.md +1 -1
  127. package/docs/migration/README.md +6 -6
  128. package/docs/migration/quick-migration-guide.md +3 -3
  129. package/docs/migration/v0.4.15-tailwind-scanning.md +1 -1
  130. package/docs/migration/v0.4.16-css-first-approach.md +1 -1
  131. package/docs/migration/v0.4.17-source-path-fix.md +4 -4
  132. package/docs/migration-guide.md +2 -2
  133. package/docs/quick-reference.md +4 -4
  134. package/docs/styles/README.md +3 -3
  135. package/docs/troubleshooting/README.md +2 -2
  136. package/docs/troubleshooting/common-issues.md +1 -1
  137. package/docs/troubleshooting/styling-issues.md +2 -2
  138. package/docs/troubleshooting/tailwind-content-scanning.md +2 -2
  139. package/docs/usage.md +2 -2
  140. package/package.json +2 -6
  141. package/src/components/Toast/Toast.test.tsx +51 -21
  142. package/src/components/Toast/Toast.tsx +13 -35
  143. package/src/components/Toast/index.ts +0 -1
  144. package/src/components/index.ts +0 -1
  145. package/src/index.ts +1 -1
  146. package/src/rbac/__tests__/rbac-engine-core-logic.test.ts +1 -1
  147. package/src/rbac/__tests__/rbac-engine-simplified.test.ts +1 -1
  148. package/src/styles/core.css +32 -37
  149. package/src/styles/index.ts +1 -1
  150. package/dist/chunk-ITPVFKDH.js.map +0 -1
  151. package/dist/chunk-NQ4TOOO6.js.map +0 -1
  152. package/dist/chunk-SFMRBGGK.js.map +0 -1
  153. package/dist/styles/core.css +0 -242
  154. package/dist/styles/fonts/georama-italic.woff2 +0 -0
  155. package/dist/styles/fonts/georama.woff2 +0 -0
  156. package/dist/styles/fonts/open-sans-italic.woff2 +0 -0
  157. package/dist/styles/fonts/open-sans.woff2 +0 -0
  158. package/dist/styles/fonts/reddit-mono.woff2 +0 -0
  159. package/src/styles/base.css +0 -208
  160. package/src/styles/semantic.css +0 -24
  161. /package/dist/{chunk-NMNDTCOR.js.map → chunk-HFDYTSAP.js.map} +0 -0
@@ -28,8 +28,9 @@ import {
28
28
  PublicErrorBoundary,
29
29
  useAppConfig,
30
30
  usePublicEventLogo,
31
- usePublicPageContext
32
- } from "./chunk-ITPVFKDH.js";
31
+ usePublicPageContext,
32
+ useToast
33
+ } from "./chunk-4ULBJNIT.js";
33
34
  import {
34
35
  Button,
35
36
  Dialog,
@@ -200,7 +201,7 @@ init_cn();
200
201
  import * as React4 from "react";
201
202
  import * as ToastPrimitives from "@radix-ui/react-toast";
202
203
  import { X } from "lucide-react";
203
- import { jsx as jsx4 } from "react/jsx-runtime";
204
+ import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
204
205
  var ToastProvider = ToastPrimitives.Provider;
205
206
  var ToastViewport = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
206
207
  ToastPrimitives.Viewport,
@@ -278,18 +279,17 @@ var ToastDescription = React4.forwardRef(({ className, ...props }, ref) => /* @_
278
279
  }
279
280
  ));
280
281
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
281
- function useToast() {
282
- return {
283
- toast: (props) => {
284
- console.log("Toast:", props);
285
- },
286
- dismiss: () => {
287
- console.log("Toast dismissed");
288
- }
289
- };
290
- }
291
282
  function Toaster() {
292
- return /* @__PURE__ */ jsx4(ToastProvider, { "data-testid": "toast-provider", children: /* @__PURE__ */ jsx4(ToastViewport, {}) });
283
+ const { toasts } = useToast();
284
+ return /* @__PURE__ */ jsxs2(ToastProvider, { "data-testid": "toast-provider", children: [
285
+ /* @__PURE__ */ jsx4(ToastViewport, {}),
286
+ toasts.map((toast) => /* @__PURE__ */ jsxs2(Toast, { ...toast, children: [
287
+ toast.title && /* @__PURE__ */ jsx4(ToastTitle, { children: toast.title }),
288
+ toast.description && /* @__PURE__ */ jsx4(ToastDescription, { children: toast.description }),
289
+ toast.action && toast.action,
290
+ /* @__PURE__ */ jsx4(ToastClose, { onClick: toast.dismiss })
291
+ ] }, toast.id))
292
+ ] });
293
293
  }
294
294
 
295
295
  // src/components/Form/Form.tsx
@@ -319,7 +319,7 @@ function Form({
319
319
  init_Button();
320
320
  import React5, { useState, useCallback, useMemo } from "react";
321
321
  init_cn();
322
- import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
322
+ import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
323
323
  var LoginForm = React5.memo(({
324
324
  onSignIn,
325
325
  onSuccess,
@@ -361,12 +361,12 @@ var LoginForm = React5.memo(({
361
361
  }, [onSignUp]);
362
362
  const displayTitle = useMemo(() => title || (appName ? `Sign in to ${appName}` : "Sign In"), [title, appName]);
363
363
  const displaySubtitle = useMemo(() => subtitle || "Enter your credentials to continue.", [subtitle]);
364
- return /* @__PURE__ */ jsx6(Card, { className: cn("w-full max-w-md mx-auto", className), children: /* @__PURE__ */ jsxs2("form", { onSubmit: handleSubmit, "data-testid": "login-form", children: [
365
- /* @__PURE__ */ jsxs2(CardHeader, { className: "space-y-1", children: [
364
+ return /* @__PURE__ */ jsx6(Card, { className: cn("w-full max-w-md mx-auto", className), children: /* @__PURE__ */ jsxs3("form", { onSubmit: handleSubmit, "data-testid": "login-form", children: [
365
+ /* @__PURE__ */ jsxs3(CardHeader, { className: "space-y-1", children: [
366
366
  /* @__PURE__ */ jsx6(CardTitle, { className: "text-2xl text-center", children: displayTitle }),
367
367
  /* @__PURE__ */ jsx6(CardDescription, { className: "text-center", children: displaySubtitle })
368
368
  ] }),
369
- /* @__PURE__ */ jsxs2(CardContent, { className: "space-y-4", children: [
369
+ /* @__PURE__ */ jsxs3(CardContent, { className: "space-y-4", children: [
370
370
  error && /* @__PURE__ */ jsx6(Alert, { variant: "destructive", children: /* @__PURE__ */ jsx6(AlertDescription, { children: error }) }),
371
371
  /* @__PURE__ */ jsx6(Label, { htmlFor: "email", children: "Email" }),
372
372
  /* @__PURE__ */ jsx6(
@@ -395,7 +395,7 @@ var LoginForm = React5.memo(({
395
395
  }
396
396
  )
397
397
  ] }),
398
- /* @__PURE__ */ jsxs2(CardFooter, { className: "flex flex-col space-y-4", children: [
398
+ /* @__PURE__ */ jsxs3(CardFooter, { className: "flex flex-col space-y-4", children: [
399
399
  /* @__PURE__ */ jsx6(
400
400
  Button,
401
401
  {
@@ -413,7 +413,7 @@ var LoginForm = React5.memo(({
413
413
  className: "text-primary hover:underline",
414
414
  children: "Don't have an account? Sign up"
415
415
  }
416
- ) }) : /* @__PURE__ */ jsxs2("p", { className: "text-center text-muted-foreground", children: [
416
+ ) }) : /* @__PURE__ */ jsxs3("p", { className: "text-center text-muted-foreground", children: [
417
417
  "Don't have an account?",
418
418
  " ",
419
419
  /* @__PURE__ */ jsx6("a", { href: "/signup", className: "text-primary hover:underline", children: "Sign up" })
@@ -427,7 +427,7 @@ init_Button();
427
427
  init_EventProvider();
428
428
  import { RefreshCw, AlertCircle, Lock, Calendar, Star } from "lucide-react";
429
429
  import { useEffect, useMemo as useMemo2 } from "react";
430
- import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
430
+ import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
431
431
  function EventSelector({
432
432
  placeholder = "Select an event",
433
433
  className,
@@ -501,17 +501,17 @@ function EventSelector({
501
501
  }
502
502
  }, [events, selectedEvent, setSelectedEvent, onEventChange]);
503
503
  if (isLoading) {
504
- return /* @__PURE__ */ jsxs3("div", { className: `flex items-center gap-2 ${className}`, children: [
504
+ return /* @__PURE__ */ jsxs4("div", { className: `flex items-center gap-2 ${className}`, children: [
505
505
  /* @__PURE__ */ jsx7(LoadingSpinner, { size: "sm" }),
506
506
  /* @__PURE__ */ jsx7("span", { className: "text-sm text-muted-foreground", children: "Loading events..." })
507
507
  ] });
508
508
  }
509
509
  if (error) {
510
- return /* @__PURE__ */ jsx7("div", { className, children: /* @__PURE__ */ jsxs3(Alert, { variant: "destructive", children: [
510
+ return /* @__PURE__ */ jsx7("div", { className, children: /* @__PURE__ */ jsxs4(Alert, { variant: "destructive", children: [
511
511
  /* @__PURE__ */ jsx7(Lock, { className: "h-4 w-4" }),
512
- /* @__PURE__ */ jsxs3(AlertDescription, { className: "flex items-center justify-between", children: [
512
+ /* @__PURE__ */ jsxs4(AlertDescription, { className: "flex items-center justify-between", children: [
513
513
  /* @__PURE__ */ jsx7("span", { children: error.message }),
514
- showRetryButton && /* @__PURE__ */ jsxs3(
514
+ showRetryButton && /* @__PURE__ */ jsxs4(
515
515
  Button,
516
516
  {
517
517
  variant: "outline",
@@ -529,11 +529,11 @@ function EventSelector({
529
529
  }
530
530
  if (events.length === 0) {
531
531
  if (showNoEventsMessage) {
532
- return /* @__PURE__ */ jsx7("div", { className, children: /* @__PURE__ */ jsxs3(Alert, { variant: "inline", children: [
532
+ return /* @__PURE__ */ jsx7("div", { className, children: /* @__PURE__ */ jsxs4(Alert, { variant: "inline", children: [
533
533
  /* @__PURE__ */ jsx7(AlertCircle, { className: "h-4 w-4 text-acc-700" }),
534
- /* @__PURE__ */ jsxs3(AlertDescription, { className: "flex items-center justify-between", children: [
534
+ /* @__PURE__ */ jsxs4(AlertDescription, { className: "flex items-center justify-between", children: [
535
535
  /* @__PURE__ */ jsx7("span", { children: "No events available." }),
536
- showRetryButton && /* @__PURE__ */ jsxs3(
536
+ showRetryButton && /* @__PURE__ */ jsxs4(
537
537
  Button,
538
538
  {
539
539
  variant: "outline",
@@ -551,17 +551,17 @@ function EventSelector({
551
551
  }
552
552
  return null;
553
553
  }
554
- return /* @__PURE__ */ jsxs3(
554
+ return /* @__PURE__ */ jsxs4(
555
555
  Select,
556
556
  {
557
557
  value: selectedEvent ? selectedEvent.event_id || selectedEvent.id : "",
558
558
  onValueChange: handleValueChange,
559
559
  className,
560
560
  children: [
561
- /* @__PURE__ */ jsx7(SelectTrigger, { className: "text-left", variant: "outline", children: /* @__PURE__ */ jsx7(SelectValue, { placeholder, children: selectedEvent && /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2", children: [
561
+ /* @__PURE__ */ jsx7(SelectTrigger, { className: "text-left", variant: "outline", children: /* @__PURE__ */ jsx7(SelectValue, { placeholder, children: selectedEvent && /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
562
562
  /* @__PURE__ */ jsx7(Calendar, { className: "h-4 w-4 flex-shrink-0" }),
563
563
  /* @__PURE__ */ jsx7("span", { className: "truncate", children: selectedEvent.event_name || selectedEvent.name }),
564
- selectedEvent.event_date && /* @__PURE__ */ jsxs3("span", { className: "text-xs text-muted-foreground flex-shrink-0", children: [
564
+ selectedEvent.event_date && /* @__PURE__ */ jsxs4("span", { className: "text-xs text-muted-foreground flex-shrink-0", children: [
565
565
  "(",
566
566
  formatEventDate(selectedEvent.event_date),
567
567
  ")"
@@ -575,19 +575,19 @@ function EventSelector({
575
575
  {
576
576
  value: event.event_id || event.id,
577
577
  className: "flex items-center justify-between",
578
- children: /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2 w-full", children: [
578
+ children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2 w-full", children: [
579
579
  showNextEventIndicator && isNext && /* @__PURE__ */ jsx7(Star, { className: "h-3 w-3 text-acc-500" }),
580
- /* @__PURE__ */ jsxs3("div", { className: "flex-1", children: [
581
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2", children: [
580
+ /* @__PURE__ */ jsxs4("div", { className: "flex-1", children: [
581
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
582
582
  /* @__PURE__ */ jsx7("span", { className: isSelected ? "font-semibold" : "", children: event.event_name || event.name }),
583
583
  isSelected && /* @__PURE__ */ jsx7("span", { className: "text-xs bg-primary text-primary-foreground px-1 rounded", children: "Current" })
584
584
  ] }),
585
- showEventDetails && event.event_date && /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-1 text-xs text-muted-foreground", children: [
585
+ showEventDetails && event.event_date && /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-1 text-xs text-muted-foreground", children: [
586
586
  /* @__PURE__ */ jsx7(Calendar, { className: "h-3 w-3" }),
587
587
  /* @__PURE__ */ jsx7("span", { children: formatEventDate(event.event_date) }),
588
588
  showNextEventIndicator && isNext && /* @__PURE__ */ jsx7("span", { className: "text-acc-600 font-medium", children: "(Next)" })
589
589
  ] }),
590
- showEventDetails && event.event_venue && /* @__PURE__ */ jsxs3("div", { className: "text-xs text-muted-foreground", children: [
590
+ showEventDetails && event.event_venue && /* @__PURE__ */ jsxs4("div", { className: "text-xs text-muted-foreground", children: [
591
591
  "\u{1F4CD} ",
592
592
  event.event_venue
593
593
  ] })
@@ -606,7 +606,7 @@ function EventSelector({
606
606
  init_Button();
607
607
  import { useState as useState2 } from "react";
608
608
  init_cn();
609
- import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
609
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
610
610
  function PasswordChangeForm({ onSubmit, className }) {
611
611
  const [newPassword, setNewPassword] = useState2("");
612
612
  const [confirmPassword, setConfirmPassword] = useState2("");
@@ -635,9 +635,9 @@ function PasswordChangeForm({ onSubmit, className }) {
635
635
  setIsSubmitting(false);
636
636
  }
637
637
  };
638
- return /* @__PURE__ */ jsxs4("form", { onSubmit: handleSubmit, className: cn("space-y-4", className), children: [
638
+ return /* @__PURE__ */ jsxs5("form", { onSubmit: handleSubmit, className: cn("space-y-4", className), children: [
639
639
  error && /* @__PURE__ */ jsx8("div", { role: "alert", children: error }),
640
- /* @__PURE__ */ jsxs4("div", { className: "space-y-2", children: [
640
+ /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
641
641
  /* @__PURE__ */ jsx8(Label, { htmlFor: "new-password", children: "New Password" }),
642
642
  /* @__PURE__ */ jsx8(
643
643
  Input,
@@ -651,7 +651,7 @@ function PasswordChangeForm({ onSubmit, className }) {
651
651
  }
652
652
  )
653
653
  ] }),
654
- /* @__PURE__ */ jsxs4("div", { className: "space-y-2", children: [
654
+ /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
655
655
  /* @__PURE__ */ jsx8(Label, { htmlFor: "confirm-password", children: "Confirm Password" }),
656
656
  /* @__PURE__ */ jsx8(
657
657
  Input,
@@ -683,7 +683,7 @@ init_Button();
683
683
  // src/components/UserMenu/UserMenu.tsx
684
684
  import React7, { useCallback as useCallback2, useMemo as useMemo3, useState as useState3 } from "react";
685
685
  import { ChevronDown, LogOut, KeyRound } from "lucide-react";
686
- import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
686
+ import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
687
687
  var UserMenu = React7.memo(function UserMenu2({
688
688
  user,
689
689
  onSignOut,
@@ -707,34 +707,34 @@ var UserMenu = React7.memo(function UserMenu2({
707
707
  if (!user || !userInfo) {
708
708
  return null;
709
709
  }
710
- return /* @__PURE__ */ jsxs5(Dialog, { open: isPasswordDialogOpen, onOpenChange: setPasswordDialogOpen, children: [
711
- /* @__PURE__ */ jsxs5(Select, { className, children: [
712
- /* @__PURE__ */ jsx9(SelectTrigger, { asChild: true, children: /* @__PURE__ */ jsxs5(Button, { variant: "outline", className: "flex items-center gap-2", "aria-label": userInfo.displayName, children: [
713
- showAvatar && /* @__PURE__ */ jsxs5(Avatar, { className: "size-7", children: [
710
+ return /* @__PURE__ */ jsxs6(Dialog, { open: isPasswordDialogOpen, onOpenChange: setPasswordDialogOpen, children: [
711
+ /* @__PURE__ */ jsxs6(Select, { className, children: [
712
+ /* @__PURE__ */ jsx9(SelectTrigger, { asChild: true, children: /* @__PURE__ */ jsxs6(Button, { variant: "outline", className: "flex items-center gap-2", "aria-label": userInfo.displayName, children: [
713
+ showAvatar && /* @__PURE__ */ jsxs6(Avatar, { className: "size-7", children: [
714
714
  /* @__PURE__ */ jsx9(AvatarImage, { src: userInfo.avatarUrl, alt: userInfo.displayName }),
715
715
  /* @__PURE__ */ jsx9(AvatarFallback, { children: userInfo.initial })
716
716
  ] }),
717
717
  /* @__PURE__ */ jsx9("span", { children: userInfo.displayName }),
718
718
  /* @__PURE__ */ jsx9(ChevronDown, { className: "h-4 w-4" })
719
719
  ] }) }),
720
- /* @__PURE__ */ jsxs5(SelectContent, { children: [
721
- /* @__PURE__ */ jsx9(SelectLabel, { className: "font-normal", children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col space-y-1", children: [
720
+ /* @__PURE__ */ jsxs6(SelectContent, { children: [
721
+ /* @__PURE__ */ jsx9(SelectLabel, { className: "font-normal", children: /* @__PURE__ */ jsxs6("div", { className: "flex flex-col space-y-1", children: [
722
722
  /* @__PURE__ */ jsx9("p", { className: "font-medium", children: userInfo.displayName }),
723
723
  /* @__PURE__ */ jsx9("p", { className: "text-muted-foreground", children: userInfo.email })
724
724
  ] }) }),
725
725
  /* @__PURE__ */ jsx9(SelectSeparator, {}),
726
- /* @__PURE__ */ jsx9(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs5(SelectItem, { value: "change-password", children: [
726
+ /* @__PURE__ */ jsx9(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs6(SelectItem, { value: "change-password", children: [
727
727
  /* @__PURE__ */ jsx9(KeyRound, { className: "mr-2 h-4 w-4" }),
728
728
  /* @__PURE__ */ jsx9("span", { children: "Change Password" })
729
729
  ] }) }),
730
- /* @__PURE__ */ jsxs5(SelectItem, { value: "sign-out", onClick: handleSignOut, children: [
730
+ /* @__PURE__ */ jsxs6(SelectItem, { value: "sign-out", onClick: handleSignOut, children: [
731
731
  /* @__PURE__ */ jsx9(LogOut, { className: "mr-2 h-4 w-4" }),
732
732
  /* @__PURE__ */ jsx9("span", { children: "Sign out" })
733
733
  ] })
734
734
  ] })
735
735
  ] }),
736
736
  /* @__PURE__ */ jsx9(DialogOverlay, {}),
737
- /* @__PURE__ */ jsxs5(DialogContent, { className, children: [
737
+ /* @__PURE__ */ jsxs6(DialogContent, { className, children: [
738
738
  /* @__PURE__ */ jsx9(DialogHeader, { children: /* @__PURE__ */ jsx9(DialogTitle, { children: "Change Password" }) }),
739
739
  /* @__PURE__ */ jsx9(
740
740
  PasswordChangeForm,
@@ -755,8 +755,8 @@ var UserMenu = React7.memo(function UserMenu2({
755
755
  ] });
756
756
  });
757
757
  var UserMenuLoading = React7.memo(function UserMenuLoading2() {
758
- return /* @__PURE__ */ jsxs5("div", { className: "relative inline-block text-left", children: [
759
- /* @__PURE__ */ jsxs5(
758
+ return /* @__PURE__ */ jsxs6("div", { className: "relative inline-block text-left", children: [
759
+ /* @__PURE__ */ jsxs6(
760
760
  "button",
761
761
  {
762
762
  type: "button",
@@ -778,7 +778,7 @@ UserMenu.Loading = UserMenuLoading;
778
778
  import * as React8 from "react";
779
779
  import { ChevronDown as ChevronDown2 } from "lucide-react";
780
780
  init_UnifiedAuthProvider();
781
- import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
781
+ import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
782
782
  var NavigationMenu = React8.forwardRef(({
783
783
  items,
784
784
  mode = "dropdown",
@@ -930,8 +930,8 @@ var NavigationMenu = React8.forwardRef(({
930
930
  const hasChildren = item.children && item.children.length > 0;
931
931
  const isExpanded = expandedItems.has(item.id);
932
932
  const itemIsActive = isActiveItem(item);
933
- return /* @__PURE__ */ jsx10("li", { role: "none", children: hasChildren ? /* @__PURE__ */ jsxs6("div", { children: [
934
- /* @__PURE__ */ jsxs6(
933
+ return /* @__PURE__ */ jsx10("li", { role: "none", children: hasChildren ? /* @__PURE__ */ jsxs7("div", { children: [
934
+ /* @__PURE__ */ jsxs7(
935
935
  "button",
936
936
  {
937
937
  onClick: () => toggleExpanded(item.id),
@@ -972,7 +972,7 @@ var NavigationMenu = React8.forwardRef(({
972
972
  ) });
973
973
  };
974
974
  if (mode === "dropdown") {
975
- return /* @__PURE__ */ jsxs6(
975
+ return /* @__PURE__ */ jsxs7(
976
976
  Select,
977
977
  {
978
978
  onValueChange: handleNavigationSelect,
@@ -1021,7 +1021,7 @@ NavigationMenu.displayName = "NavigationMenu";
1021
1021
 
1022
1022
  // src/components/Header/Header.tsx
1023
1023
  init_cn();
1024
- import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
1024
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
1025
1025
  function Header({
1026
1026
  logoUrl,
1027
1027
  logoAlt = "Logo",
@@ -1041,7 +1041,7 @@ function Header({
1041
1041
  return /* @__PURE__ */ jsx11("header", { className: cn(
1042
1042
  "w-full border-b border-main-200 h-16 shadow-sm bg-main-100 ",
1043
1043
  className
1044
- ), role: "banner", children: /* @__PURE__ */ jsxs7("nav", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto grid grid-cols-[auto_auto_1fr_auto] gap-4 h-full items-center", children: [
1044
+ ), role: "banner", children: /* @__PURE__ */ jsxs8("nav", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto grid grid-cols-[auto_auto_1fr_auto] gap-4 h-full items-center", children: [
1045
1045
  logo ? logo : logoUrl ? /* @__PURE__ */ jsx11(
1046
1046
  "img",
1047
1047
  {
@@ -1091,7 +1091,7 @@ function Header({
1091
1091
  // src/components/Footer/Footer.tsx
1092
1092
  init_cn();
1093
1093
  import React9 from "react";
1094
- import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
1094
+ import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
1095
1095
  var FooterComponent = ({
1096
1096
  companyName = "Solvera Solutions Pty Ltd",
1097
1097
  year = (/* @__PURE__ */ new Date()).getFullYear(),
@@ -1102,7 +1102,7 @@ var FooterComponent = ({
1102
1102
  children
1103
1103
  }) => {
1104
1104
  const copyrightText = copyright || `\xA9 Copyright 2022\u2013${year} all rights reserved, ${companyName}.`;
1105
- return /* @__PURE__ */ jsx12("footer", { className: cn("mt-8 py-6 flex justify-center border-t border-border bg-main-100", className), children: /* @__PURE__ */ jsxs8("section", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto text-center", children: [
1105
+ return /* @__PURE__ */ jsx12("footer", { className: cn("mt-8 py-6 flex justify-center border-t border-border bg-main-100", className), children: /* @__PURE__ */ jsxs9("section", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto text-center", children: [
1106
1106
  logo && /* @__PURE__ */ jsx12("img", { src: logo, alt: "Logo", className: "h-8 w-auto" }),
1107
1107
  children && /* @__PURE__ */ jsx12(Fragment3, { children }),
1108
1108
  /* @__PURE__ */ jsx12("span", { className: "text-muted-foreground", children: copyrightText }),
@@ -1117,7 +1117,7 @@ Footer.displayName = "Footer";
1117
1117
  init_UnifiedAuthProvider();
1118
1118
  import { useState as useState5, useEffect as useEffect3, useMemo as useMemo5, useCallback as useCallback3 } from "react";
1119
1119
  import { Outlet, useNavigate, useLocation } from "react-router-dom";
1120
- import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
1120
+ import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
1121
1121
  var EMPTY_PAGE_ID_MAPPING = {};
1122
1122
  var EMPTY_ROUTE_PERMISSIONS = {};
1123
1123
  function PaceAppLayout({
@@ -1343,13 +1343,13 @@ function PaceAppLayout({
1343
1343
  return result || { error: null };
1344
1344
  };
1345
1345
  if (enforcePermissions && isCheckingPermission) {
1346
- return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs9("div", { className: "text-center", children: [
1346
+ return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs10("div", { className: "text-center", children: [
1347
1347
  /* @__PURE__ */ jsx13("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-sec-900 mx-auto mb-4" }),
1348
1348
  /* @__PURE__ */ jsx13("p", { className: "text-sec-600", children: "Checking permissions..." })
1349
1349
  ] }) });
1350
1350
  }
1351
1351
  if (enforcePermissions && permissionError) {
1352
- return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs9("div", { className: "text-center", children: [
1352
+ return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs10("div", { className: "text-center", children: [
1353
1353
  /* @__PURE__ */ jsx13("h2", { className: "text-xl font-semibold text-acc-600 mb-2", children: "Permission Error" }),
1354
1354
  /* @__PURE__ */ jsx13("p", { className: "text-sec-600 mb-4", children: permissionError.message }),
1355
1355
  /* @__PURE__ */ jsx13(Button, { onClick: () => navigate("/"), children: "Go Home" })
@@ -1362,13 +1362,13 @@ function PaceAppLayout({
1362
1362
  if (permissionFallback) {
1363
1363
  return /* @__PURE__ */ jsx13(Fragment4, { children: permissionFallback });
1364
1364
  }
1365
- return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs9("div", { className: "text-center", children: [
1365
+ return /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ jsxs10("div", { className: "text-center", children: [
1366
1366
  /* @__PURE__ */ jsx13("h2", { className: "text-xl font-semibold text-acc-600 mb-2", children: "Access Denied" }),
1367
1367
  /* @__PURE__ */ jsx13("p", { className: "text-sec-600 mb-4", children: "You don't have permission to access this page." }),
1368
1368
  /* @__PURE__ */ jsx13(Button, { onClick: () => navigate("/"), children: "Go Home" })
1369
1369
  ] }) });
1370
1370
  }
1371
- return /* @__PURE__ */ jsxs9(Fragment4, { children: [
1371
+ return /* @__PURE__ */ jsxs10(Fragment4, { children: [
1372
1372
  /* @__PURE__ */ jsx13(
1373
1373
  Header,
1374
1374
  {
@@ -1400,7 +1400,7 @@ function PaceAppLayout({
1400
1400
  // src/components/PaceLoginPage/PaceLoginPage.tsx
1401
1401
  import { useEffect as useEffect4, useState as useState6 } from "react";
1402
1402
  import { useNavigate as useNavigate2 } from "react-router-dom";
1403
- import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
1403
+ import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
1404
1404
  var PaceLoginPage = ({
1405
1405
  appName = "Pace",
1406
1406
  onSuccessRedirectPath = "/"
@@ -1432,7 +1432,7 @@ var PaceLoginPage = ({
1432
1432
  setIsSigningIn(false);
1433
1433
  }
1434
1434
  };
1435
- return /* @__PURE__ */ jsxs10("main", { className: "min-h-screen grid mx-auto w-fit content-center justify-items-center gap-y-8", "aria-label": `${appName} Login Page`, children: [
1435
+ return /* @__PURE__ */ jsxs11("main", { className: "min-h-screen grid mx-auto w-fit content-center justify-items-center gap-y-8", "aria-label": `${appName} Login Page`, children: [
1436
1436
  /* @__PURE__ */ jsx14(
1437
1437
  "img",
1438
1438
  {
@@ -1459,7 +1459,7 @@ var PaceLoginPage = ({
1459
1459
 
1460
1460
  // src/components/ErrorBoundary/ErrorBoundary.tsx
1461
1461
  import { Component } from "react";
1462
- import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
1462
+ import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
1463
1463
  var ErrorBoundary = class extends Component {
1464
1464
  constructor(props) {
1465
1465
  super(props);
@@ -1538,16 +1538,16 @@ var ErrorBoundary = class extends Component {
1538
1538
  role: "alert",
1539
1539
  className: "p-6 bg-destructive/10 border border-destructive/20 rounded-lg",
1540
1540
  "data-error-boundary": errorId,
1541
- children: /* @__PURE__ */ jsxs11("div", { className: "flex items-start gap-3", children: [
1541
+ children: /* @__PURE__ */ jsxs12("div", { className: "flex items-start gap-3", children: [
1542
1542
  /* @__PURE__ */ jsx15("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx15("svg", { className: "w-5 h-5 text-destructive", viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx15("path", { fillRule: "evenodd", d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z", clipRule: "evenodd" }) }) }),
1543
- /* @__PURE__ */ jsxs11("div", { className: "flex-1 min-w-0", children: [
1544
- /* @__PURE__ */ jsxs11("h3", { className: "text-destructive", children: [
1543
+ /* @__PURE__ */ jsxs12("div", { className: "flex-1 min-w-0", children: [
1544
+ /* @__PURE__ */ jsxs12("h3", { className: "text-destructive", children: [
1545
1545
  "Error in ",
1546
1546
  componentName
1547
1547
  ] }),
1548
1548
  /* @__PURE__ */ jsx15("p", { className: "text-destructive/80", children: this.state.error?.message || "An unexpected error occurred." }),
1549
- enableRetry && retryCount < maxRetries && /* @__PURE__ */ jsxs11("div", { className: "flex gap-3 mb-4", children: [
1550
- /* @__PURE__ */ jsxs11(
1549
+ enableRetry && retryCount < maxRetries && /* @__PURE__ */ jsxs12("div", { className: "flex gap-3 mb-4", children: [
1550
+ /* @__PURE__ */ jsxs12(
1551
1551
  "button",
1552
1552
  {
1553
1553
  onClick: this.handleRetry,
@@ -1570,7 +1570,7 @@ var ErrorBoundary = class extends Component {
1570
1570
  }
1571
1571
  )
1572
1572
  ] }),
1573
- retryCount >= maxRetries && /* @__PURE__ */ jsxs11("div", { className: "mb-4 p-3 bg-acc-50 border border-acc-200 rounded-md", children: [
1573
+ retryCount >= maxRetries && /* @__PURE__ */ jsxs12("div", { className: "mb-4 p-3 bg-acc-50 border border-acc-200 rounded-md", children: [
1574
1574
  /* @__PURE__ */ jsx15("p", { className: "text-acc-800", children: "Maximum retry attempts reached. Please reload the page or contact support." }),
1575
1575
  /* @__PURE__ */ jsx15(
1576
1576
  "button",
@@ -1581,14 +1581,14 @@ var ErrorBoundary = class extends Component {
1581
1581
  }
1582
1582
  )
1583
1583
  ] }),
1584
- import.meta.env.MODE === "development" && this.state.error && /* @__PURE__ */ jsxs11("details", { className: "text-sm text-destructive/70", children: [
1584
+ import.meta.env.MODE === "development" && this.state.error && /* @__PURE__ */ jsxs12("details", { className: "text-sm text-destructive/70", children: [
1585
1585
  /* @__PURE__ */ jsx15("summary", { className: "cursor-pointer font-medium mb-2", children: "Error Details (Development)" }),
1586
- /* @__PURE__ */ jsxs11("div", { className: "bg-destructive/5 p-3 rounded border", children: [
1587
- /* @__PURE__ */ jsxs11("p", { className: "font-mono", children: [
1586
+ /* @__PURE__ */ jsxs12("div", { className: "bg-destructive/5 p-3 rounded border", children: [
1587
+ /* @__PURE__ */ jsxs12("p", { className: "font-mono", children: [
1588
1588
  "Error ID: ",
1589
1589
  errorId
1590
1590
  ] }),
1591
- /* @__PURE__ */ jsxs11("pre", { className: "whitespace-pre-wrap text-xs overflow-auto max-h-32", children: [
1591
+ /* @__PURE__ */ jsxs12("pre", { className: "whitespace-pre-wrap text-xs overflow-auto max-h-32", children: [
1592
1592
  this.state.error.toString(),
1593
1593
  this.state.errorInfo?.componentStack
1594
1594
  ] })
@@ -1608,7 +1608,7 @@ import { useState as useState7, useCallback as useCallback4 } from "react";
1608
1608
  init_Button();
1609
1609
  init_OrganisationProvider();
1610
1610
  import { RefreshCw as RefreshCw2, AlertCircle as AlertCircle2, Building2, Shield } from "lucide-react";
1611
- import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
1611
+ import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
1612
1612
  function OrganisationSelector({
1613
1613
  placeholder = "Select organisation",
1614
1614
  className,
@@ -1672,21 +1672,21 @@ function OrganisationSelector({
1672
1672
  }
1673
1673
  }, [refreshOrganisations]);
1674
1674
  if (orgLoading) {
1675
- return /* @__PURE__ */ jsxs12("div", { className: `flex items-center gap-2 ${className}`, children: [
1675
+ return /* @__PURE__ */ jsxs13("div", { className: `flex items-center gap-2 ${className}`, children: [
1676
1676
  /* @__PURE__ */ jsx16(LoadingSpinner, { size: "sm" }),
1677
1677
  /* @__PURE__ */ jsx16("span", { className: "text-sm text-muted-foreground", children: compact ? "Loading..." : "Loading organisations..." })
1678
1678
  ] });
1679
1679
  }
1680
1680
  if (orgError) {
1681
- return /* @__PURE__ */ jsxs12("div", { className: `space-y-2 ${className}`, children: [
1682
- /* @__PURE__ */ jsxs12(Alert, { variant: "destructive", children: [
1681
+ return /* @__PURE__ */ jsxs13("div", { className: `space-y-2 ${className}`, children: [
1682
+ /* @__PURE__ */ jsxs13(Alert, { variant: "destructive", children: [
1683
1683
  /* @__PURE__ */ jsx16(AlertCircle2, { className: "h-4 w-4" }),
1684
- /* @__PURE__ */ jsxs12(AlertDescription, { children: [
1684
+ /* @__PURE__ */ jsxs13(AlertDescription, { children: [
1685
1685
  "Failed to load organisations: ",
1686
1686
  orgError.message
1687
1687
  ] })
1688
1688
  ] }),
1689
- showRetryButton && /* @__PURE__ */ jsxs12(
1689
+ showRetryButton && /* @__PURE__ */ jsxs13(
1690
1690
  Button,
1691
1691
  {
1692
1692
  variant: "outline",
@@ -1704,12 +1704,12 @@ function OrganisationSelector({
1704
1704
  }
1705
1705
  if (organisations.length === 0) {
1706
1706
  if (showNoOrganisationsMessage) {
1707
- return /* @__PURE__ */ jsxs12("div", { className: `space-y-2 ${className}`, children: [
1708
- /* @__PURE__ */ jsxs12(Alert, { children: [
1707
+ return /* @__PURE__ */ jsxs13("div", { className: `space-y-2 ${className}`, children: [
1708
+ /* @__PURE__ */ jsxs13(Alert, { children: [
1709
1709
  /* @__PURE__ */ jsx16(Building2, { className: "h-4 w-4" }),
1710
1710
  /* @__PURE__ */ jsx16(AlertDescription, { children: "No organisations available. Please contact your administrator to be added to an organisation." })
1711
1711
  ] }),
1712
- showRetryButton && /* @__PURE__ */ jsxs12(
1712
+ showRetryButton && /* @__PURE__ */ jsxs13(
1713
1713
  Button,
1714
1714
  {
1715
1715
  variant: "outline",
@@ -1727,19 +1727,19 @@ function OrganisationSelector({
1727
1727
  }
1728
1728
  return null;
1729
1729
  }
1730
- const switchErrorDisplay = switchError && /* @__PURE__ */ jsxs12(Alert, { variant: "destructive", className: "mt-2", children: [
1730
+ const switchErrorDisplay = switchError && /* @__PURE__ */ jsxs13(Alert, { variant: "destructive", className: "mt-2", children: [
1731
1731
  /* @__PURE__ */ jsx16(AlertCircle2, { className: "h-4 w-4" }),
1732
1732
  /* @__PURE__ */ jsx16(AlertDescription, { children: switchError })
1733
1733
  ] });
1734
- return /* @__PURE__ */ jsxs12("div", { className: `space-y-2 ${className}`, children: [
1735
- /* @__PURE__ */ jsxs12(
1734
+ return /* @__PURE__ */ jsxs13("div", { className: `space-y-2 ${className}`, children: [
1735
+ /* @__PURE__ */ jsxs13(
1736
1736
  Select,
1737
1737
  {
1738
1738
  value: selectedOrganisation.id,
1739
1739
  onValueChange: handleOrganisationChange,
1740
1740
  disabled: disabled || isLoading,
1741
1741
  children: [
1742
- /* @__PURE__ */ jsx16(SelectTrigger, { className: `${isLoading ? "opacity-50" : ""}`, children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2", children: [
1742
+ /* @__PURE__ */ jsx16(SelectTrigger, { className: `${isLoading ? "opacity-50" : ""}`, children: /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2", children: [
1743
1743
  isLoading ? /* @__PURE__ */ jsx16(LoadingSpinner, { size: "sm" }) : /* @__PURE__ */ jsx16(Building2, { className: "h-4 w-4 text-muted-foreground" }),
1744
1744
  /* @__PURE__ */ jsx16(SelectValue, { placeholder })
1745
1745
  ] }) }),
@@ -1752,15 +1752,15 @@ function OrganisationSelector({
1752
1752
  value: org.id,
1753
1753
  disabled: !hasAccess,
1754
1754
  className: !hasAccess ? "opacity-50" : "",
1755
- children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center justify-between w-full", children: [
1756
- /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2", children: [
1755
+ children: /* @__PURE__ */ jsxs13("div", { className: "flex items-center justify-between w-full", children: [
1756
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2", children: [
1757
1757
  /* @__PURE__ */ jsx16(Building2, { className: "h-4 w-4" }),
1758
- /* @__PURE__ */ jsxs12("div", { className: "flex flex-col", children: [
1758
+ /* @__PURE__ */ jsxs13("div", { className: "flex flex-col", children: [
1759
1759
  /* @__PURE__ */ jsx16("span", { className: "font-medium", children: org.display_name }),
1760
1760
  !compact && org.description && /* @__PURE__ */ jsx16("span", { className: "text-xs text-muted-foreground truncate max-w-40", children: org.description })
1761
1761
  ] })
1762
1762
  ] }),
1763
- showRole && /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1 ml-4", children: [
1763
+ showRole && /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-1 ml-4", children: [
1764
1764
  /* @__PURE__ */ jsx16(Shield, { className: "h-3 w-3 text-muted-foreground" }),
1765
1765
  /* @__PURE__ */ jsx16("span", { className: "text-xs text-muted-foreground capitalize", children: userRole?.replace("_", " ") || "No Role" })
1766
1766
  ] })
@@ -1781,7 +1781,7 @@ init_Button();
1781
1781
  import { useState as useState8 } from "react";
1782
1782
  init_cn();
1783
1783
  init_UnifiedAuthProvider();
1784
- import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
1784
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
1785
1785
  function PasswordResetForm({
1786
1786
  onSuccess,
1787
1787
  onError,
@@ -1822,9 +1822,9 @@ function PasswordResetForm({
1822
1822
  setError(null);
1823
1823
  };
1824
1824
  if (isSuccess) {
1825
- return /* @__PURE__ */ jsx17("div", { className: cn("", className), role: "form", children: /* @__PURE__ */ jsxs13("div", { className: "space-y-4 text-center", children: [
1825
+ return /* @__PURE__ */ jsx17("div", { className: cn("", className), role: "form", children: /* @__PURE__ */ jsxs14("div", { className: "space-y-4 text-center", children: [
1826
1826
  /* @__PURE__ */ jsx17("h2", { children: "Check your email" }),
1827
- /* @__PURE__ */ jsxs13("p", { className: "text-sec-600", children: [
1827
+ /* @__PURE__ */ jsxs14("p", { className: "text-sec-600", children: [
1828
1828
  "We have sent a password reset link to ",
1829
1829
  email
1830
1830
  ] }),
@@ -1839,13 +1839,13 @@ function PasswordResetForm({
1839
1839
  )
1840
1840
  ] }) });
1841
1841
  }
1842
- return /* @__PURE__ */ jsx17("div", { className: cn("", className), role: "form", children: /* @__PURE__ */ jsxs13("div", { className: "space-y-4", children: [
1843
- /* @__PURE__ */ jsxs13("div", { className: "space-y-2", children: [
1842
+ return /* @__PURE__ */ jsx17("div", { className: cn("", className), role: "form", children: /* @__PURE__ */ jsxs14("div", { className: "space-y-4", children: [
1843
+ /* @__PURE__ */ jsxs14("div", { className: "space-y-2", children: [
1844
1844
  /* @__PURE__ */ jsx17("h2", { children: "Reset Password" }),
1845
1845
  /* @__PURE__ */ jsx17("p", { className: "text-sec-600", children: "Enter your email address and we'll send you a reset link." })
1846
1846
  ] }),
1847
- /* @__PURE__ */ jsxs13("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
1848
- /* @__PURE__ */ jsxs13("div", { className: "space-y-2", children: [
1847
+ /* @__PURE__ */ jsxs14("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
1848
+ /* @__PURE__ */ jsxs14("div", { className: "space-y-2", children: [
1849
1849
  /* @__PURE__ */ jsx17(Label, { htmlFor: "email", children: "Email Address" }),
1850
1850
  /* @__PURE__ */ jsx17(
1851
1851
  Input,
@@ -2564,7 +2564,7 @@ function EventLogoLarge(props) {
2564
2564
  }
2565
2565
 
2566
2566
  // src/components/PublicLayout/PublicPageHeader.tsx
2567
- import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
2567
+ import { jsx as jsx20, jsxs as jsxs15 } from "react/jsx-runtime";
2568
2568
  function PublicPageHeader({
2569
2569
  event,
2570
2570
  eventCode,
@@ -2579,9 +2579,9 @@ function PublicPageHeader({
2579
2579
  }) {
2580
2580
  const { appName } = useAppConfig();
2581
2581
  const headerClasses = `bg-white border-b border-gray-200 ${className}`.trim();
2582
- return /* @__PURE__ */ jsx20("header", { className: headerClasses, children: /* @__PURE__ */ jsxs14("div", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto", children: [
2583
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center justify-between py-4", children: [
2584
- showAppLogo && /* @__PURE__ */ jsx20("div", { className: "flex-shrink-0", children: customAppLogo || /* @__PURE__ */ jsxs14("div", { className: "flex items-center", children: [
2582
+ return /* @__PURE__ */ jsx20("header", { className: headerClasses, children: /* @__PURE__ */ jsxs15("div", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto", children: [
2583
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center justify-between py-4", children: [
2584
+ showAppLogo && /* @__PURE__ */ jsx20("div", { className: "flex-shrink-0", children: customAppLogo || /* @__PURE__ */ jsxs15("div", { className: "flex items-center", children: [
2585
2585
  /* @__PURE__ */ jsx20(
2586
2586
  "img",
2587
2587
  {
@@ -2603,10 +2603,10 @@ function PublicPageHeader({
2603
2603
  }
2604
2604
  ) })
2605
2605
  ] }),
2606
- /* @__PURE__ */ jsx20("div", { className: "pb-4", children: /* @__PURE__ */ jsxs14("div", { className: "text-center", children: [
2606
+ /* @__PURE__ */ jsx20("div", { className: "pb-4", children: /* @__PURE__ */ jsxs15("div", { className: "text-center", children: [
2607
2607
  /* @__PURE__ */ jsx20("h1", { className: "text-3xl font-bold text-gray-900 mb-2", children: event.event_name }),
2608
2608
  event.event_venue && /* @__PURE__ */ jsx20("p", { className: "text-md text-gray-500 mb-4", children: event.event_venue }),
2609
- title && /* @__PURE__ */ jsxs14("div", { className: "mt-6", children: [
2609
+ title && /* @__PURE__ */ jsxs15("div", { className: "mt-6", children: [
2610
2610
  /* @__PURE__ */ jsx20("h2", { className: "text-2xl font-semibold text-gray-800 mb-2", children: title }),
2611
2611
  description && /* @__PURE__ */ jsx20("p", { className: "text-lg text-gray-600 max-w-3xl mx-auto", children: description })
2612
2612
  ] }),
@@ -2617,7 +2617,7 @@ function PublicPageHeader({
2617
2617
 
2618
2618
  // src/components/PublicLayout/PublicPageFooter.tsx
2619
2619
  init_cn();
2620
- import { Fragment as Fragment5, jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
2620
+ import { Fragment as Fragment5, jsx as jsx21, jsxs as jsxs16 } from "react/jsx-runtime";
2621
2621
  function PublicPageFooter({
2622
2622
  event,
2623
2623
  companyName = "Solvera Solutions Pty Ltd",
@@ -2629,7 +2629,7 @@ function PublicPageFooter({
2629
2629
  children
2630
2630
  }) {
2631
2631
  const copyrightText = copyright || `\xA9 Copyright 2022\u2013${year} all rights reserved, ${companyName}.`;
2632
- return /* @__PURE__ */ jsx21("footer", { className: cn("mt-8 py-6 flex justify-center border-t border-border bg-main-100", className), children: /* @__PURE__ */ jsxs15("section", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto text-center", children: [
2632
+ return /* @__PURE__ */ jsx21("footer", { className: cn("mt-8 py-6 flex justify-center border-t border-border bg-main-100", className), children: /* @__PURE__ */ jsxs16("section", { className: "px-4 w-[min(var(--app-width),100%)] mx-auto text-center", children: [
2633
2633
  logo && /* @__PURE__ */ jsx21("img", { src: logo, alt: "Logo", className: "h-8 w-auto" }),
2634
2634
  children && /* @__PURE__ */ jsx21(Fragment5, { children }),
2635
2635
  /* @__PURE__ */ jsx21("span", { className: "text-muted-foreground", children: copyrightText }),
@@ -2638,7 +2638,7 @@ function PublicPageFooter({
2638
2638
  }
2639
2639
 
2640
2640
  // src/components/PublicLayout/PublicLoadingSpinner.tsx
2641
- import { jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
2641
+ import { jsx as jsx22, jsxs as jsxs17 } from "react/jsx-runtime";
2642
2642
  var sizeClasses2 = {
2643
2643
  sm: "h-4 w-4",
2644
2644
  md: "h-8 w-8",
@@ -2655,7 +2655,7 @@ function PublicLoadingSpinner({
2655
2655
  }) {
2656
2656
  const sizeClass = sizeClasses2[size];
2657
2657
  const displayMessage = customMessage || message;
2658
- const content = /* @__PURE__ */ jsxs16("div", { className: `flex flex-col items-center ${className}`, children: [
2658
+ const content = /* @__PURE__ */ jsxs17("div", { className: `flex flex-col items-center ${className}`, children: [
2659
2659
  showLogo && /* @__PURE__ */ jsx22("div", { className: "mb-4", children: /* @__PURE__ */ jsx22(
2660
2660
  "img",
2661
2661
  {
@@ -2664,7 +2664,7 @@ function PublicLoadingSpinner({
2664
2664
  alt: "PACE Core"
2665
2665
  }
2666
2666
  ) }),
2667
- /* @__PURE__ */ jsxs16("div", { className: "relative", children: [
2667
+ /* @__PURE__ */ jsxs17("div", { className: "relative", children: [
2668
2668
  /* @__PURE__ */ jsx22(
2669
2669
  "div",
2670
2670
  {
@@ -2687,7 +2687,7 @@ function PublicLoadingSpinnerFullPage({
2687
2687
  eventName,
2688
2688
  className = ""
2689
2689
  }) {
2690
- return /* @__PURE__ */ jsx22("div", { className: `min-h-screen bg-white flex items-center justify-center ${className}`, children: /* @__PURE__ */ jsxs16("div", { className: "max-w-md mx-auto text-center px-4", children: [
2690
+ return /* @__PURE__ */ jsx22("div", { className: `min-h-screen bg-white flex items-center justify-center ${className}`, children: /* @__PURE__ */ jsxs17("div", { className: "max-w-md mx-auto text-center px-4", children: [
2691
2691
  /* @__PURE__ */ jsx22("div", { className: "mb-8", children: /* @__PURE__ */ jsx22(
2692
2692
  "img",
2693
2693
  {
@@ -2706,7 +2706,7 @@ function PublicLoadingSpinnerFullPage({
2706
2706
  }
2707
2707
  ) }),
2708
2708
  /* @__PURE__ */ jsx22("p", { className: "text-lg text-gray-600", children: message }),
2709
- /* @__PURE__ */ jsxs16("div", { className: "mt-4 flex justify-center space-x-1", children: [
2709
+ /* @__PURE__ */ jsxs17("div", { className: "mt-4 flex justify-center space-x-1", children: [
2710
2710
  /* @__PURE__ */ jsx22("div", { className: "h-2 w-2 bg-blue-600 rounded-full animate-bounce", style: { animationDelay: "0ms" } }),
2711
2711
  /* @__PURE__ */ jsx22("div", { className: "h-2 w-2 bg-blue-600 rounded-full animate-bounce", style: { animationDelay: "150ms" } }),
2712
2712
  /* @__PURE__ */ jsx22("div", { className: "h-2 w-2 bg-blue-600 rounded-full animate-bounce", style: { animationDelay: "300ms" } })
@@ -2728,7 +2728,7 @@ function PublicLoadingSkeleton({
2728
2728
 
2729
2729
  // src/components/PublicLayout/PublicPageLayout.tsx
2730
2730
  import { useMemo as useMemo7 } from "react";
2731
- import { jsx as jsx23, jsxs as jsxs17 } from "react/jsx-runtime";
2731
+ import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
2732
2732
  function PublicPageLayout({
2733
2733
  eventCode,
2734
2734
  children,
@@ -2753,9 +2753,9 @@ function PublicPageLayout({
2753
2753
  return /* @__PURE__ */ jsx23("div", { className: layoutClasses, children: /* @__PURE__ */ jsx23("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ jsx23(LoadingFallback, {}) }) });
2754
2754
  }
2755
2755
  if (error && showValidationErrors) {
2756
- return /* @__PURE__ */ jsx23("div", { className: layoutClasses, children: /* @__PURE__ */ jsx23("div", { className: "flex-1 flex items-center justify-center", children: ErrorFallback ? /* @__PURE__ */ jsx23(ErrorFallback, { error, retry: refetch }) : /* @__PURE__ */ jsxs17("div", { className: "text-center p-8", children: [
2756
+ return /* @__PURE__ */ jsx23("div", { className: layoutClasses, children: /* @__PURE__ */ jsx23("div", { className: "flex-1 flex items-center justify-center", children: ErrorFallback ? /* @__PURE__ */ jsx23(ErrorFallback, { error, retry: refetch }) : /* @__PURE__ */ jsxs18("div", { className: "text-center p-8", children: [
2757
2757
  /* @__PURE__ */ jsx23("h1", { className: "text-2xl font-bold text-gray-900 mb-4", children: "Event Not Found" }),
2758
- /* @__PURE__ */ jsxs17("p", { className: "text-gray-600 mb-6", children: [
2758
+ /* @__PURE__ */ jsxs18("p", { className: "text-gray-600 mb-6", children: [
2759
2759
  'The event code "',
2760
2760
  eventCode,
2761
2761
  '" is invalid or the event is not available for public viewing.'
@@ -2771,7 +2771,7 @@ function PublicPageLayout({
2771
2771
  ] }) }) });
2772
2772
  }
2773
2773
  if (!event) {
2774
- return /* @__PURE__ */ jsx23("div", { className: layoutClasses, children: /* @__PURE__ */ jsx23("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ jsxs17("div", { className: "text-center p-8", children: [
2774
+ return /* @__PURE__ */ jsx23("div", { className: layoutClasses, children: /* @__PURE__ */ jsx23("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ jsxs18("div", { className: "text-center p-8", children: [
2775
2775
  /* @__PURE__ */ jsx23("h1", { className: "text-2xl font-bold text-gray-900 mb-4", children: "Event Not Available" }),
2776
2776
  /* @__PURE__ */ jsx23("p", { className: "text-gray-600 mb-6", children: "This event is not available for public viewing." }),
2777
2777
  /* @__PURE__ */ jsx23(
@@ -2784,7 +2784,7 @@ function PublicPageLayout({
2784
2784
  )
2785
2785
  ] }) }) });
2786
2786
  }
2787
- return /* @__PURE__ */ jsx23(PublicErrorBoundary, { children: /* @__PURE__ */ jsxs17("div", { className: layoutClasses, children: [
2787
+ return /* @__PURE__ */ jsx23(PublicErrorBoundary, { children: /* @__PURE__ */ jsxs18("div", { className: layoutClasses, children: [
2788
2788
  customHeader || /* @__PURE__ */ jsx23(
2789
2789
  PublicPageHeader,
2790
2790
  {
@@ -2811,7 +2811,7 @@ function usePublicPageContext2() {
2811
2811
 
2812
2812
  // src/components/PublicLayout/PublicPageDebugger.tsx
2813
2813
  import { useEffect as useEffect5 } from "react";
2814
- import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
2814
+ import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
2815
2815
  function PublicPageDebugger({ enabled = true, label = "PublicPage" }) {
2816
2816
  useEffect5(() => {
2817
2817
  if (!enabled) return;
@@ -2854,7 +2854,7 @@ function PublicPageDebugger({ enabled = true, label = "PublicPage" }) {
2854
2854
  };
2855
2855
  }, [enabled, label]);
2856
2856
  if (!enabled) return null;
2857
- return /* @__PURE__ */ jsxs18("div", { style: {
2857
+ return /* @__PURE__ */ jsxs19("div", { style: {
2858
2858
  position: "fixed",
2859
2859
  top: 0,
2860
2860
  right: 0,
@@ -2872,7 +2872,7 @@ function PublicPageDebugger({ enabled = true, label = "PublicPage" }) {
2872
2872
 
2873
2873
  // src/components/PublicLayout/PublicPageDiagnostic.tsx
2874
2874
  import { useEffect as useEffect6, useState as useState10 } from "react";
2875
- import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
2875
+ import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
2876
2876
  function PublicPageDiagnostic({ enabled = true, label = "PublicPage" }) {
2877
2877
  const [diagnostics, setDiagnostics] = useState10({
2878
2878
  hasPublicPageContext: false,
@@ -2953,7 +2953,7 @@ function PublicPageDiagnostic({ enabled = true, label = "PublicPage" }) {
2953
2953
  runDiagnostics();
2954
2954
  }, [enabled, label]);
2955
2955
  if (!enabled) return null;
2956
- return /* @__PURE__ */ jsxs19("div", { style: {
2956
+ return /* @__PURE__ */ jsxs20("div", { style: {
2957
2957
  position: "fixed",
2958
2958
  top: 0,
2959
2959
  left: 0,
@@ -2967,27 +2967,27 @@ function PublicPageDiagnostic({ enabled = true, label = "PublicPage" }) {
2967
2967
  borderRadius: "0 0 8px 0"
2968
2968
  }, children: [
2969
2969
  /* @__PURE__ */ jsx25("div", { style: { fontWeight: "bold", marginBottom: "8px" }, children: "\u{1F50D} Public Page Diagnostics" }),
2970
- /* @__PURE__ */ jsxs19("div", { children: [
2970
+ /* @__PURE__ */ jsxs20("div", { children: [
2971
2971
  "Public Context: ",
2972
2972
  diagnostics.hasPublicPageContext ? "\u2705" : "\u274C"
2973
2973
  ] }),
2974
- /* @__PURE__ */ jsxs19("div", { children: [
2974
+ /* @__PURE__ */ jsxs20("div", { children: [
2975
2975
  "Auth Context: ",
2976
2976
  diagnostics.hasAuthContext ? "\u274C BAD" : "\u2705 GOOD"
2977
2977
  ] }),
2978
- /* @__PURE__ */ jsxs19("div", { children: [
2978
+ /* @__PURE__ */ jsxs20("div", { children: [
2979
2979
  "Org Context: ",
2980
2980
  diagnostics.hasOrgContext ? "\u274C BAD" : "\u2705 GOOD"
2981
2981
  ] }),
2982
- /* @__PURE__ */ jsxs19("div", { children: [
2982
+ /* @__PURE__ */ jsxs20("div", { children: [
2983
2983
  "Event Context: ",
2984
2984
  diagnostics.hasEventContext ? "\u274C BAD" : "\u2705 GOOD"
2985
2985
  ] }),
2986
- /* @__PURE__ */ jsxs19("div", { children: [
2986
+ /* @__PURE__ */ jsxs20("div", { children: [
2987
2987
  "Env Vars: ",
2988
2988
  diagnostics.hasEnvironmentVars ? "\u2705" : "\u274C"
2989
2989
  ] }),
2990
- /* @__PURE__ */ jsxs19("div", { children: [
2990
+ /* @__PURE__ */ jsxs20("div", { children: [
2991
2991
  "Route Params: ",
2992
2992
  diagnostics.routeParams ? "\u2705" : "\u274C"
2993
2993
  ] }),
@@ -2997,7 +2997,7 @@ function PublicPageDiagnostic({ enabled = true, label = "PublicPage" }) {
2997
2997
 
2998
2998
  // src/components/PublicLayout/PublicPageContextChecker.tsx
2999
2999
  import { useEffect as useEffect7 } from "react";
3000
- import { jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
3000
+ import { jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
3001
3001
  function PublicPageContextChecker({ enabled = true, label = "PublicPage" }) {
3002
3002
  useEffect7(() => {
3003
3003
  if (!enabled) return;
@@ -3061,7 +3061,7 @@ function PublicPageContextChecker({ enabled = true, label = "PublicPage" }) {
3061
3061
  console.groupEnd();
3062
3062
  }, [enabled, label]);
3063
3063
  if (!enabled) return null;
3064
- return /* @__PURE__ */ jsxs20("div", { style: {
3064
+ return /* @__PURE__ */ jsxs21("div", { style: {
3065
3065
  position: "fixed",
3066
3066
  top: 0,
3067
3067
  left: 0,
@@ -3094,7 +3094,6 @@ export {
3094
3094
  ToastClose,
3095
3095
  ToastTitle,
3096
3096
  ToastDescription,
3097
- useToast,
3098
3097
  Toaster,
3099
3098
  Form,
3100
3099
  LoginForm,
@@ -3150,4 +3149,4 @@ export {
3150
3149
  PublicPageDiagnostic,
3151
3150
  PublicPageContextChecker
3152
3151
  };
3153
- //# sourceMappingURL=chunk-SFMRBGGK.js.map
3152
+ //# sourceMappingURL=chunk-44SAHU2N.js.map