@burdenoff/microfe-store 2026.625.3 → 2026.625.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/StoreRoutes.js +3 -3
  2. package/dist/StoreRoutes.js.map +1 -1
  3. package/dist/components/AccessDenied.js +3 -3
  4. package/dist/components/AccessDenied.js.map +1 -1
  5. package/dist/components/InstallAppModal.js +120 -107
  6. package/dist/components/InstallAppModal.js.map +1 -1
  7. package/dist/components/cart/CartDrawer.js +10 -10
  8. package/dist/components/cart/CartDrawer.js.map +1 -1
  9. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/errors/CombinedGraphQLErrors.js +1 -1
  10. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
  11. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/errors/utils.js +1 -1
  12. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/utils.js.map +1 -0
  13. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/core/ApolloLink.js +2 -2
  14. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
  15. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/subscriptions/index.js +2 -2
  16. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
  17. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/utils/createOperation.js +1 -1
  18. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
  19. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
  20. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/graphql/print.js +1 -1
  21. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
  22. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/caches.js +2 -2
  23. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
  24. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/checkDocument.js +1 -1
  25. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
  26. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/getMainDefinition.js +1 -1
  27. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
  28. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
  29. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
  30. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/getOperationDefinition.js +1 -1
  31. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
  32. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
  33. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
  34. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/globals/global.js +1 -1
  35. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  36. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  37. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  38. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
  39. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
  40. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/makeUniqueId.js +1 -1
  41. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  42. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/memoize.js +2 -2
  43. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
  44. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/stringifyForDisplay.js +1 -1
  45. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  46. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/invariant/index.js +1 -1
  47. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  48. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js +6 -0
  49. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js.map +1 -0
  50. package/dist/node_modules/{@wry → .bun/@wry_caches@1.0.1/node_modules/@wry}/caches/lib/weak.js +1 -1
  51. package/dist/node_modules/.bun/@wry_caches@1.0.1/node_modules/@wry/caches/lib/weak.js.map +1 -0
  52. package/dist/node_modules/{@wry → .bun/@wry_trie@0.5.0/node_modules/@wry}/trie/lib/index.js +1 -1
  53. package/dist/node_modules/.bun/@wry_trie@0.5.0/node_modules/@wry/trie/lib/index.js.map +1 -0
  54. package/dist/node_modules/{graphql-ws → .bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws}/dist/client.js +1 -1
  55. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/client.js.map +1 -0
  56. package/dist/node_modules/{graphql-ws → .bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws}/dist/common-CGW11Fyb.js +1 -1
  57. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
  58. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/NotificationFactories.js +1 -1
  59. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  60. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Observable.js +1 -1
  61. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
  62. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Subscriber.js +2 -2
  63. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  64. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Subscription.js +2 -2
  65. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  66. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/config.js +1 -1
  67. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  68. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/observable/empty.js +1 -1
  69. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
  70. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/scheduler/timeoutProvider.js +2 -2
  71. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  72. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/symbol/observable.js +1 -1
  73. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
  74. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/UnsubscriptionError.js +1 -1
  75. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  76. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  77. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  78. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/createErrorClass.js +1 -1
  79. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  80. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/errorContext.js +1 -1
  81. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  82. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
  83. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
  84. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  85. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  86. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  87. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  88. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/pipe.js +1 -1
  89. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
  90. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/reportUnhandledError.js +1 -1
  91. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  92. package/dist/node_modules/{rxjs → .bun/tslib@2.8.1}/node_modules/tslib/tslib.es6.js +1 -1
  93. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +1 -0
  94. package/dist/pages/AdminDashboardPage.js +89 -90
  95. package/dist/pages/AdminDashboardPage.js.map +1 -1
  96. package/dist/pages/AdminReviewModerationPage.js +56 -58
  97. package/dist/pages/AdminReviewModerationPage.js.map +1 -1
  98. package/dist/pages/AdminStoresPage.js +372 -391
  99. package/dist/pages/AdminStoresPage.js.map +1 -1
  100. package/dist/pages/AdminSubmissionsQueuePage.js +148 -134
  101. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
  102. package/dist/pages/AppDetailPage.js +120 -123
  103. package/dist/pages/AppDetailPage.js.map +1 -1
  104. package/dist/pages/AppSettingsPage.js +297 -70
  105. package/dist/pages/AppSettingsPage.js.map +1 -1
  106. package/dist/pages/CartPage.js +76 -65
  107. package/dist/pages/CartPage.js.map +1 -1
  108. package/dist/pages/InstalledAppsPage.js +100 -71
  109. package/dist/pages/InstalledAppsPage.js.map +1 -1
  110. package/dist/pages/MarketplaceHomePage.js +378 -368
  111. package/dist/pages/MarketplaceHomePage.js.map +1 -1
  112. package/dist/pages/MyLicensesPage.js +75 -67
  113. package/dist/pages/MyLicensesPage.js.map +1 -1
  114. package/dist/pages/OrderConfirmationPage.js +37 -38
  115. package/dist/pages/OrderConfirmationPage.js.map +1 -1
  116. package/dist/pages/OrdersPage.js +64 -53
  117. package/dist/pages/OrdersPage.js.map +1 -1
  118. package/dist/pages/ProductDetailPage.js +98 -101
  119. package/dist/pages/ProductDetailPage.js.map +1 -1
  120. package/dist/pages/ProductReviewsPage.js +2 -2
  121. package/dist/pages/ProductReviewsPage.js.map +1 -1
  122. package/dist/pages/PublisherDashboardPage.js +92 -93
  123. package/dist/pages/PublisherDashboardPage.js.map +1 -1
  124. package/dist/pages/PublisherRevenuePage.js +60 -61
  125. package/dist/pages/PublisherRevenuePage.js.map +1 -1
  126. package/dist/pages/PublisherSubmissionsPage.js +96 -97
  127. package/dist/pages/PublisherSubmissionsPage.js.map +1 -1
  128. package/dist/pages/PublisherSubmitPage.js +184 -189
  129. package/dist/pages/PublisherSubmitPage.js.map +1 -1
  130. package/dist/providers/StoreProvider.js +3 -3
  131. package/package.json +2 -2
  132. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  133. package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
  134. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  135. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
  136. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  137. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  138. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  139. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  140. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  141. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  142. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -9
  143. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  144. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  145. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -8
  146. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  147. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  148. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -10
  149. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  150. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -8
  151. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
  152. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  153. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  154. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  155. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  156. package/dist/node_modules/@apollo/client/version.js +0 -6
  157. package/dist/node_modules/@apollo/client/version.js.map +0 -1
  158. package/dist/node_modules/@wry/caches/lib/weak.js.map +0 -1
  159. package/dist/node_modules/@wry/trie/lib/index.js.map +0 -1
  160. package/dist/node_modules/graphql-ws/dist/client.js.map +0 -1
  161. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
  162. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  163. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  164. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  165. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  166. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  167. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  168. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  169. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  170. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  171. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -11
  172. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  173. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  174. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  175. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -8
  176. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  177. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -8
  178. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  179. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -6
  180. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  181. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  182. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  183. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
  184. /package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/caching/sizes.js +0 -0
@@ -9,7 +9,6 @@ import { useCallback as a, useEffect as le, useMemo as ue, useRef as de, useStat
9
9
  import { AlertCircle as s, ArrowLeft as fe, Check as pe, Loader2 as me, Package as he, ShieldCheck as c, ShoppingCart as ge, Star as l, ThumbsUp as u } from "lucide-react";
10
10
  import { Fragment as _e, jsx as d, jsxs as f } from "react/jsx-runtime";
11
11
  import { useLocation as ve, useNavigate as ye, useParams as be } from "react-router-dom";
12
- import { GlassCard as p } from "@burdenoff/fe-libs/ui";
13
12
  import { useEventBus as xe } from "@burdenoff/fe-libs/shared/events";
14
13
  //#region src/pages/ProductDetailPage.tsx
15
14
  var Se = (e, t) => ({
@@ -104,7 +103,7 @@ var Se = (e, t) => ({
104
103
  })
105
104
  ]
106
105
  }), we = ({ review: e, onMarkHelpful: t, markingHelpful: n }) => /* @__PURE__ */ f("div", {
107
- className: "rounded-lg border border-border-seam bg-bg-surface p-4 transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
106
+ className: "rounded-lg border border-border-default bg-bg-surface p-4",
108
107
  children: [
109
108
  /* @__PURE__ */ d("div", {
110
109
  className: "mb-3 flex items-start justify-between",
@@ -244,7 +243,7 @@ var Se = (e, t) => ({
244
243
  className: "mb-4 flex items-center gap-2",
245
244
  children: [/* @__PURE__ */ d("div", { className: "size-5 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ d("div", { className: "h-6 w-32 animate-pulse rounded bg-bg-sunken" })]
246
245
  }), /* @__PURE__ */ f("div", {
247
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
246
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
248
247
  children: [/* @__PURE__ */ f("div", {
249
248
  className: "space-y-2",
250
249
  children: [
@@ -277,7 +276,7 @@ var Se = (e, t) => ({
277
276
  /* @__PURE__ */ f("div", {
278
277
  className: "mb-6 flex flex-col gap-6 md:flex-row",
279
278
  children: [/* @__PURE__ */ d("div", {
280
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4 md:w-64",
279
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4 md:w-64",
281
280
  children: /* @__PURE__ */ f("div", {
282
281
  className: "flex items-center gap-6",
283
282
  children: [/* @__PURE__ */ f("div", {
@@ -319,7 +318,7 @@ var Se = (e, t) => ({
319
318
  /* @__PURE__ */ d("div", {
320
319
  className: "space-y-4",
321
320
  children: [...[, ,]].map((e, t) => /* @__PURE__ */ f("div", {
322
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
321
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
323
322
  children: [/* @__PURE__ */ f("div", {
324
323
  className: "mb-3 flex items-start gap-3",
325
324
  children: [/* @__PURE__ */ d("div", { className: "size-10 rounded-full bg-bg-sunken" }), /* @__PURE__ */ f("div", {
@@ -352,7 +351,7 @@ var Se = (e, t) => ({
352
351
  className: "mb-4 flex items-center gap-2",
353
352
  children: [/* @__PURE__ */ d("div", { className: "size-5 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ d("div", { className: "h-6 w-48 animate-pulse rounded bg-bg-sunken" })]
354
353
  }), /* @__PURE__ */ d("div", {
355
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
354
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
356
355
  children: /* @__PURE__ */ d("div", {
357
356
  className: "grid gap-4 md:grid-cols-2",
358
357
  children: [...[
@@ -382,7 +381,7 @@ var Se = (e, t) => ({
382
381
  ,
383
382
  ,
384
383
  ]].map((e, t) => /* @__PURE__ */ d("div", {
385
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-3",
384
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-3",
386
385
  children: /* @__PURE__ */ f("div", {
387
386
  className: "flex items-center gap-3",
388
387
  children: [/* @__PURE__ */ d("div", { className: "size-14 rounded-xl bg-bg-sunken" }), /* @__PURE__ */ f("div", {
@@ -403,7 +402,7 @@ var Se = (e, t) => ({
403
402
  /* @__PURE__ */ f("section", {
404
403
  className: "mb-8",
405
404
  children: [/* @__PURE__ */ d("div", { className: "mb-4 h-6 w-36 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ f("div", {
406
- className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
405
+ className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
407
406
  children: [/* @__PURE__ */ f("div", {
408
407
  className: "flex items-center gap-4",
409
408
  children: [/* @__PURE__ */ d("div", { className: "size-12 rounded-lg bg-bg-sunken" }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ f("div", {
@@ -449,13 +448,13 @@ var Se = (e, t) => ({
449
448
  ]
450
449
  })
451
450
  }), De = () => {
452
- let { productId: s } = be(), u = ye(), De = ve(), { basePath: m, workspaceId: h } = e(), { addProduct: Oe, cartItems: ke, addingToCart: g, createOrder: Ae, checkingOut: je } = t(), { installations: Me, refetch: Ne } = ae({
453
- filter: ue(() => s && h ? {
451
+ let { productId: s } = be(), u = ye(), De = ve(), { basePath: p, workspaceId: m } = e(), { addProduct: h, cartItems: Oe, addingToCart: ke, createOrder: Ae, checkingOut: je } = t(), { installations: Me, refetch: g } = ae({
452
+ filter: ue(() => s && m ? {
454
453
  productId: s,
455
- workspaceId: h
456
- } : void 0, [s, h]),
454
+ workspaceId: m
455
+ } : void 0, [s, m]),
457
456
  limit: 1
458
- }), Pe = Me.some((e) => e.productId === s && e.workspaceId === h && e.status === "ACTIVE"), { createReview: _, loading: Fe } = ee(), { updateReview: Ie, loading: v } = ie(), { deleteReview: y, loading: Le } = te(), { markHelpful: Re, loading: ze } = ne(), b = xe(), [x, Be] = o(!1), [S, Ve] = o(!1), [C, w] = o(!1), [T, E] = o(null), [D, O] = o(null), [He, k] = o("success"), [A, j] = o(!1), [M, N] = o(""), [P, F] = o(""), [I, L] = o(5), [Ue, R] = o(null), [We, z] = o(!1), { data: Ge, loading: Ke, error: B, refetch: V } = re({
457
+ }), Ne = Me.some((e) => e.productId === s && e.workspaceId === m && e.status === "ACTIVE"), { createReview: _, loading: v } = ee(), { updateReview: y, loading: Pe } = ie(), { deleteReview: b, loading: Fe } = te(), { markHelpful: Ie, loading: Le } = ne(), x = xe(), [S, Re] = o(!1), [C, ze] = o(!1), [Be, w] = o(!1), [T, E] = o(null), [D, O] = o(null), [Ve, k] = o("success"), [A, j] = o(!1), [M, N] = o(""), [P, F] = o(""), [I, L] = o(5), [He, R] = o(null), [Ue, z] = o(!1), { data: We, loading: Ge, error: B, refetch: V } = re({
459
458
  id: s,
460
459
  slug: s,
461
460
  includeReviews: !0,
@@ -463,14 +462,14 @@ var Se = (e, t) => ({
463
462
  includeRelated: !0,
464
463
  relatedLimit: 4,
465
464
  includeVersions: !0
466
- }), H = Ge, U = H?.product, W = H?.publisher, G = ke.some((e) => e.productId === U?.id), qe = a(async () => {
465
+ }), H = We, U = H?.product, W = H?.publisher, G = Oe.some((e) => e.productId === U?.id), Ke = a(async () => {
467
466
  if (U) {
468
467
  if (E(null), G) {
469
- u(`${m}/cart`);
468
+ u(`${p}/cart`);
470
469
  return;
471
470
  }
472
471
  try {
473
- await Oe(Se(U, W), void 0, 1);
472
+ await h(Se(U, W), void 0, 1);
474
473
  } catch (e) {
475
474
  console.error("Failed to add product to cart:", e), E("Failed to add this product to cart. Please try again.");
476
475
  }
@@ -478,11 +477,11 @@ var Se = (e, t) => ({
478
477
  }, [
479
478
  U,
480
479
  W,
481
- Oe,
480
+ h,
482
481
  G,
483
482
  u,
484
- m
485
- ]), Je = a(async () => {
483
+ p
484
+ ]), qe = a(async () => {
486
485
  if (U) {
487
486
  E(null), w(!0);
488
487
  try {
@@ -508,34 +507,34 @@ var Se = (e, t) => ({
508
507
  U,
509
508
  Ae,
510
509
  u
511
- ]), Ye = a(() => {
510
+ ]), Je = a(() => {
512
511
  U && z(!0);
513
- }, [U]), Xe = de(U);
514
- Xe.current = U;
515
- let Ze = de(b);
516
- Ze.current = b, le(() => {
517
- let e = Xe.current;
518
- e && Ze.current.emit("store.product.viewed", {
512
+ }, [U]), Ye = de(U);
513
+ Ye.current = U;
514
+ let Xe = de(x);
515
+ Xe.current = x, le(() => {
516
+ let e = Ye.current;
517
+ e && Xe.current.emit("store.product.viewed", {
519
518
  productId: e.id,
520
519
  productSlug: e.slug,
521
520
  productType: e.type,
522
521
  pricingModel: e.pricingModel
523
522
  });
524
523
  }, [U?.id]);
525
- let Qe = a((e, t) => {
526
- U && (b.emit("store.product.installed", {
524
+ let Ze = a((e, t) => {
525
+ U && (x.emit("store.product.installed", {
527
526
  productId: U.id,
528
527
  workspaceId: e
529
- }), console.log(`Successfully installed ${U.name} to workspace ${t} (${e})`), Ne());
528
+ }), console.log(`Successfully installed ${U.name} to workspace ${t} (${e})`), g());
530
529
  }, [
531
530
  U,
532
- b,
533
- Ne
534
- ]), $e = a((e) => {
531
+ x,
532
+ g
533
+ ]), Qe = a((e) => {
535
534
  console.error("Installation failed:", e.message);
536
- }, []), et = a(() => {
535
+ }, []), $e = a(() => {
537
536
  N(H?.userReview?.title ?? ""), F(H?.userReview?.comment ?? ""), L(H?.userReview?.rating ?? 5), O(null), k("success"), j(!0);
538
- }, [H?.userReview]), tt = a(async () => {
537
+ }, [H?.userReview]), et = a(async () => {
539
538
  if (!U) return;
540
539
  if (I < 1 || I > 5) {
541
540
  k("error"), O("Choose a rating from 1 to 5 stars.");
@@ -547,7 +546,7 @@ var Se = (e, t) => ({
547
546
  title: M.trim() || void 0,
548
547
  comment: P.trim() || void 0
549
548
  };
550
- if (!(H?.userReview ? await Ie(H.userReview.id, {
549
+ if (!(H?.userReview ? await y(H.userReview.id, {
551
550
  rating: e.rating,
552
551
  title: e.title,
553
552
  comment: e.comment
@@ -555,12 +554,12 @@ var Se = (e, t) => ({
555
554
  k("error"), O("We could not save your review. Please try again.");
556
555
  return;
557
556
  }
558
- k("success"), O(H?.userReview ? "Your review was updated." : "Your review was submitted."), j(!1), b.emit("store.review.submitted", {
557
+ k("success"), O(H?.userReview ? "Your review was updated." : "Your review was submitted."), j(!1), x.emit("store.review.submitted", {
559
558
  productId: U.id,
560
559
  rating: I
561
560
  }), await V();
562
561
  }, [
563
- b,
562
+ x,
564
563
  _,
565
564
  U,
566
565
  H?.userReview,
@@ -568,32 +567,32 @@ var Se = (e, t) => ({
568
567
  P,
569
568
  I,
570
569
  M,
571
- Ie
572
- ]), nt = a(async () => {
570
+ y
571
+ ]), tt = a(async () => {
573
572
  if (H?.userReview && (se("medium"), await oe({
574
573
  title: "Delete review",
575
574
  message: "Are you sure you want to remove your review?",
576
575
  okButtonTitle: "Delete",
577
576
  cancelButtonTitle: "Cancel"
578
577
  }) !== !1)) {
579
- if (!await y(H.userReview.id)) {
578
+ if (!await b(H.userReview.id)) {
580
579
  k("error"), O("We could not remove your review. Please try again."), i("error");
581
580
  return;
582
581
  }
583
582
  k("success"), O("Your review was removed."), j(!1), N(""), F(""), L(5), i("success"), await V();
584
583
  }
585
584
  }, [
586
- y,
585
+ b,
587
586
  H?.userReview,
588
587
  V
589
- ]), rt = a(async (e) => {
590
- R(e), await Re(e) && await V(), R(null);
591
- }, [Re, V]);
592
- if (Ke) return /* @__PURE__ */ d(Te, {});
588
+ ]), nt = a(async (e) => {
589
+ R(e), await Ie(e) && await V(), R(null);
590
+ }, [Ie, V]);
591
+ if (Ge) return /* @__PURE__ */ d(Te, {});
593
592
  if (B) return /* @__PURE__ */ d(Ee, {
594
593
  error: B,
595
594
  onRetry: V,
596
- onBack: () => u(`${m}/marketplace`)
595
+ onBack: () => u(`${p}/marketplace`)
597
596
  });
598
597
  if (!H?.product) return /* @__PURE__ */ d("div", {
599
598
  className: "flex h-full items-center justify-center",
@@ -610,14 +609,14 @@ var Se = (e, t) => ({
610
609
  }),
611
610
  /* @__PURE__ */ d("button", {
612
611
  type: "button",
613
- onClick: () => u(`${m}/marketplace`),
612
+ onClick: () => u(`${p}/marketplace`),
614
613
  className: "rounded-lg bg-action-primary-bg px-4 py-2 text-action-primary-text transition-opacity hover:opacity-90",
615
614
  children: "Back to Marketplace"
616
615
  })
617
616
  ]
618
617
  })
619
618
  });
620
- let { reviews: K, reviewsCount: it, relatedProducts: q, ratingDistribution: J, isPurchased: Y, userEntitlement: X } = H, Z = U, Q = J ? J.fiveStars + J.fourStars + J.threeStars + J.twoStars + J.oneStar : 0, at = J ? [
619
+ let { reviews: K, reviewsCount: rt, relatedProducts: q, ratingDistribution: J, isPurchased: Y, userEntitlement: X } = H, Z = U, Q = J ? J.fiveStars + J.fourStars + J.threeStars + J.twoStars + J.oneStar : 0, it = J ? [
621
620
  {
622
621
  stars: 5,
623
622
  count: J.fiveStars,
@@ -643,7 +642,7 @@ var Se = (e, t) => ({
643
642
  count: J.oneStar,
644
643
  percentage: Q > 0 ? J.oneStar / Q * 100 : 0
645
644
  }
646
- ] : [], ot = Z.requiredPermissions || [], st = Z.integrationDeps || [], ct = () => Z.pricingModel === "FREE" ? "Free" : Z.pricingModel === "SUBSCRIPTION" ? `${r(Z.price, Z.currency)}/mo` : r(Z.price, Z.currency), $ = Z.pricingModel === "FREE" || Z.price === 0;
645
+ ] : [], at = (Z.requiredPermissions || []).filter((e) => e && e !== "[object Object]"), ot = Z.integrationDeps || [], st = () => Z.pricingModel === "FREE" ? "Free" : Z.pricingModel === "SUBSCRIPTION" ? `${r(Z.price, Z.currency)}/mo` : r(Z.price, Z.currency), $ = Z.pricingModel === "FREE" || Z.price === 0;
647
646
  return /* @__PURE__ */ f("div", {
648
647
  className: "h-full overflow-y-auto bg-bg-base",
649
648
  children: [
@@ -712,7 +711,7 @@ var Se = (e, t) => ({
712
711
  /* @__PURE__ */ d(l, { className: "size-4 fill-current text-status-warning-text" }),
713
712
  /* @__PURE__ */ f("span", {
714
713
  className: "ml-1 text-xs text-text-muted",
715
- children: [n(it || Z.reviewCount), " reviews"]
714
+ children: [n(rt || Z.reviewCount), " reviews"]
716
715
  })
717
716
  ]
718
717
  }),
@@ -745,7 +744,7 @@ var Se = (e, t) => ({
745
744
  }),
746
745
  /* @__PURE__ */ f("div", {
747
746
  className: "mb-6 flex items-center gap-3",
748
- children: [Pe ? /* @__PURE__ */ f("button", {
747
+ children: [Ne ? /* @__PURE__ */ f("button", {
749
748
  type: "button",
750
749
  disabled: !0,
751
750
  className: "flex items-center gap-2 rounded-full bg-status-success-bg-subtle px-8 py-3 font-medium text-status-success-text cursor-default",
@@ -762,26 +761,26 @@ var Se = (e, t) => ({
762
761
  }), "Installed"]
763
762
  }) : Y && !$ ? /* @__PURE__ */ d("button", {
764
763
  type: "button",
765
- onClick: Ye,
764
+ onClick: Je,
766
765
  className: "cursor-pointer rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90",
767
766
  children: "Install to Workspace"
768
767
  }) : $ ? /* @__PURE__ */ d("button", {
769
768
  type: "button",
770
- onClick: Ye,
769
+ onClick: Je,
771
770
  className: "cursor-pointer rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90",
772
771
  children: "Install"
773
772
  }) : /* @__PURE__ */ d("button", {
774
773
  type: "button",
775
- onClick: Je,
776
- disabled: C || je,
774
+ onClick: qe,
775
+ disabled: Be || je,
777
776
  className: "cursor-pointer flex items-center gap-2 rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90 disabled:opacity-70",
778
- children: C || je ? /* @__PURE__ */ f(_e, { children: [/* @__PURE__ */ d(me, { className: "size-4 animate-spin" }), "Processing…"] }) : `Buy ${ct()}`
777
+ children: Be || je ? /* @__PURE__ */ f(_e, { children: [/* @__PURE__ */ d(me, { className: "size-4 animate-spin" }), "Processing…"] }) : `Buy ${st()}`
779
778
  }), !$ && !Y && /* @__PURE__ */ f("button", {
780
779
  type: "button",
781
- onClick: qe,
782
- disabled: g,
780
+ onClick: Ke,
781
+ disabled: ke,
783
782
  className: "cursor-pointer flex items-center gap-2 rounded-full border border-border-default px-4 py-3 text-sm text-text-primary transition-colors hover:bg-bg-sunken disabled:opacity-50",
784
- children: [g ? /* @__PURE__ */ d(me, { className: "size-4 animate-spin" }) : G ? /* @__PURE__ */ d(pe, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ d(ge, { className: "size-4" }), G ? "In Cart" : "Add to Cart"]
783
+ children: [ke ? /* @__PURE__ */ d(me, { className: "size-4 animate-spin" }) : G ? /* @__PURE__ */ d(pe, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ d(ge, { className: "size-4" }), G ? "In Cart" : "Add to Cart"]
785
784
  })]
786
785
  }),
787
786
  /* @__PURE__ */ f("p", {
@@ -855,19 +854,19 @@ var Se = (e, t) => ({
855
854
  /* @__PURE__ */ f("div", {
856
855
  className: "text-sm leading-relaxed text-text-secondary",
857
856
  children: [/* @__PURE__ */ d("p", {
858
- className: x ? "" : "line-clamp-4",
857
+ className: S ? "" : "line-clamp-4",
859
858
  children: Z.longDescription || Z.description || "No description available."
860
859
  }), ((Z.longDescription || Z.description)?.length ?? 0) > 200 && /* @__PURE__ */ d("button", {
861
860
  type: "button",
862
- onClick: () => Be(!x),
861
+ onClick: () => Re(!S),
863
862
  className: "cursor-pointer mt-3 text-sm font-medium text-text-link",
864
- children: x ? "Show less" : "Show more"
863
+ children: S ? "Show less" : "Show more"
865
864
  })]
866
865
  }),
867
866
  Z.tags && Z.tags.length > 0 && /* @__PURE__ */ d("div", {
868
867
  className: "mt-4 flex flex-wrap gap-2",
869
868
  children: Z.tags.map((e) => /* @__PURE__ */ d("span", {
870
- className: "rounded-full border border-border-seam px-3 py-1.5 text-xs text-text-muted transition-colors hover:bg-bg-sunken",
869
+ className: "rounded-full border border-border-default px-3 py-1.5 text-xs text-text-muted transition-colors hover:bg-bg-sunken",
871
870
  children: e
872
871
  }, e))
873
872
  })
@@ -883,16 +882,15 @@ var Se = (e, t) => ({
883
882
  children: "Ratings & Reviews"
884
883
  })
885
884
  }),
886
- /* @__PURE__ */ f(p, {
887
- treatment: "insight",
888
- className: "p-5",
885
+ /* @__PURE__ */ f("div", {
886
+ className: "rounded-xl border border-border-default bg-bg-surface p-5",
889
887
  children: [K && K.length > 0 ? /* @__PURE__ */ f("div", {
890
888
  className: "flex items-start gap-8",
891
889
  children: [/* @__PURE__ */ f("div", {
892
890
  className: "text-center",
893
891
  children: [
894
892
  /* @__PURE__ */ d("p", {
895
- className: "text-5xl font-light tabular-nums text-text-primary",
893
+ className: "text-5xl font-light text-text-primary",
896
894
  children: (Z.rating || 0).toFixed(1)
897
895
  }),
898
896
  /* @__PURE__ */ d("div", {
@@ -907,12 +905,12 @@ var Se = (e, t) => ({
907
905
  }),
908
906
  /* @__PURE__ */ f("p", {
909
907
  className: "text-sm text-text-muted",
910
- children: [n(it || Z.reviewCount), " reviews"]
908
+ children: [n(rt || Z.reviewCount), " reviews"]
911
909
  })
912
910
  ]
913
- }), at.length > 0 && /* @__PURE__ */ d("div", {
911
+ }), it.length > 0 && /* @__PURE__ */ d("div", {
914
912
  className: "flex-1 space-y-1.5",
915
- children: at.map((e) => /* @__PURE__ */ d(Ce, { ...e }, e.stars))
913
+ children: it.map((e) => /* @__PURE__ */ d(Ce, { ...e }, e.stars))
916
914
  })]
917
915
  }) : /* @__PURE__ */ f("div", {
918
916
  className: "flex flex-col items-center justify-center py-6 text-center",
@@ -937,20 +935,20 @@ var Se = (e, t) => ({
937
935
  })
938
936
  ]
939
937
  }), /* @__PURE__ */ f("div", {
940
- className: "mt-6 border-t border-border-seam pt-4",
938
+ className: "mt-6 border-t border-border-default pt-4",
941
939
  children: [D && /* @__PURE__ */ d("p", {
942
- role: He === "success" ? "status" : "alert",
943
- className: `mb-3 rounded-lg px-3 py-2 text-sm ${He === "success" ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"}`,
940
+ role: Ve === "success" ? "status" : "alert",
941
+ className: `mb-3 rounded-lg px-3 py-2 text-sm ${Ve === "success" ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"}`,
944
942
  children: D
945
943
  }), Y || H?.userReview ? /* @__PURE__ */ f("div", {
946
944
  className: "space-y-4",
947
945
  children: [/* @__PURE__ */ d("button", {
948
946
  type: "button",
949
- onClick: () => A ? j(!1) : et(),
947
+ onClick: () => A ? j(!1) : $e(),
950
948
  className: "w-full cursor-pointer py-2 text-center text-sm font-medium text-text-primary transition-colors hover:text-text-link",
951
949
  children: H?.userReview ? A ? "Cancel review editing" : "Edit your review" : A ? "Cancel review" : "Write a Review"
952
950
  }), A && /* @__PURE__ */ f("div", {
953
- className: "rounded-xl border border-border-seam bg-bg-sunken p-4",
951
+ className: "rounded-xl border border-border-default bg-bg-sunken p-4",
954
952
  children: [
955
953
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
956
954
  className: "text-sm font-medium text-text-primary",
@@ -997,16 +995,16 @@ var Se = (e, t) => ({
997
995
  className: "mt-4 flex flex-wrap gap-3",
998
996
  children: [/* @__PURE__ */ d("button", {
999
997
  type: "button",
1000
- onClick: tt,
1001
- disabled: Fe || v,
998
+ onClick: et,
999
+ disabled: v || Pe,
1002
1000
  className: "cursor-pointer rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",
1003
- children: Fe || v ? "Saving..." : H?.userReview ? "Update Review" : "Submit Review"
1001
+ children: v || Pe ? "Saving..." : H?.userReview ? "Update Review" : "Submit Review"
1004
1002
  }), H?.userReview && /* @__PURE__ */ d("button", {
1005
1003
  type: "button",
1006
- onClick: nt,
1007
- disabled: Le,
1004
+ onClick: tt,
1005
+ disabled: Fe,
1008
1006
  className: "cursor-pointer rounded-lg border border-status-error-border px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle disabled:cursor-not-allowed disabled:opacity-60",
1009
- children: Le ? "Removing..." : "Delete Review"
1007
+ children: Fe ? "Removing..." : "Delete Review"
1010
1008
  })]
1011
1009
  })
1012
1010
  ]
@@ -1021,16 +1019,16 @@ var Se = (e, t) => ({
1021
1019
  className: "mt-4 space-y-3",
1022
1020
  children: [/* @__PURE__ */ d("ul", {
1023
1021
  className: "space-y-3",
1024
- children: (S ? K : K.slice(0, 2)).map((e) => /* @__PURE__ */ d("li", { children: /* @__PURE__ */ d(we, {
1022
+ children: (C ? K : K.slice(0, 2)).map((e) => /* @__PURE__ */ d("li", { children: /* @__PURE__ */ d(we, {
1025
1023
  review: e,
1026
- onMarkHelpful: rt,
1027
- markingHelpful: ze && Ue === e.id
1024
+ onMarkHelpful: nt,
1025
+ markingHelpful: Le && He === e.id
1028
1026
  }) }, e.id))
1029
1027
  }), K.length > 2 && /* @__PURE__ */ d("button", {
1030
1028
  type: "button",
1031
- onClick: () => Ve(!S),
1029
+ onClick: () => ze(!C),
1032
1030
  className: "cursor-pointer text-sm font-medium text-text-link",
1033
- children: S ? "Show less" : `Show all ${K.length} reviews`
1031
+ children: C ? "Show less" : `Show all ${K.length} reviews`
1034
1032
  })]
1035
1033
  }),
1036
1034
  (!K || K.length === 0) && /* @__PURE__ */ d("p", {
@@ -1039,14 +1037,14 @@ var Se = (e, t) => ({
1039
1037
  })
1040
1038
  ]
1041
1039
  }),
1042
- ot.length > 0 && /* @__PURE__ */ f("section", {
1040
+ at.length > 0 && /* @__PURE__ */ f("section", {
1043
1041
  className: "mb-8",
1044
1042
  children: [/* @__PURE__ */ d("h2", {
1045
1043
  className: "mb-4 text-lg font-medium text-text-primary",
1046
1044
  children: "Required Permissions"
1047
1045
  }), /* @__PURE__ */ d("div", {
1048
1046
  className: "space-y-2",
1049
- children: ot.map((e) => /* @__PURE__ */ f("div", {
1047
+ children: at.map((e) => /* @__PURE__ */ f("div", {
1050
1048
  className: "flex items-center gap-3 rounded-lg bg-bg-surface px-4 py-3",
1051
1049
  children: [/* @__PURE__ */ d(c, { className: "size-5 text-status-success-text" }), /* @__PURE__ */ d("span", {
1052
1050
  className: "text-sm text-text-primary",
@@ -1055,14 +1053,14 @@ var Se = (e, t) => ({
1055
1053
  }, e))
1056
1054
  })]
1057
1055
  }),
1058
- st.length > 0 && /* @__PURE__ */ f("section", {
1056
+ ot.length > 0 && /* @__PURE__ */ f("section", {
1059
1057
  className: "mb-8",
1060
1058
  children: [/* @__PURE__ */ d("h2", {
1061
1059
  className: "mb-4 text-lg font-medium text-text-primary",
1062
1060
  children: "Integrations"
1063
1061
  }), /* @__PURE__ */ d("div", {
1064
1062
  className: "flex flex-wrap gap-2",
1065
- children: st.map((e) => /* @__PURE__ */ d("span", {
1063
+ children: ot.map((e) => /* @__PURE__ */ d("span", {
1066
1064
  className: "rounded-lg bg-bg-surface px-4 py-2 text-sm font-medium text-text-primary",
1067
1065
  children: e
1068
1066
  }, e))
@@ -1073,9 +1071,8 @@ var Se = (e, t) => ({
1073
1071
  children: [/* @__PURE__ */ d("h2", {
1074
1072
  className: "mb-4 text-lg font-medium text-text-primary",
1075
1073
  children: "Additional Information"
1076
- }), /* @__PURE__ */ f(p, {
1077
- treatment: "metric",
1078
- className: "grid grid-cols-2 gap-6 p-5 md:grid-cols-3",
1074
+ }), /* @__PURE__ */ f("div", {
1075
+ className: "grid grid-cols-2 gap-6 md:grid-cols-3",
1079
1076
  children: [
1080
1077
  Z.manifestVersion && /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
1081
1078
  className: "text-xs text-text-muted",
@@ -1126,8 +1123,8 @@ var Se = (e, t) => ({
1126
1123
  }), /* @__PURE__ */ f("div", {
1127
1124
  className: "w-full lg:w-80",
1128
1125
  children: [
1129
- (Z.documentationUrl || Z.repositoryUrl || W?.email) && /* @__PURE__ */ f(p, {
1130
- className: "mb-6 p-4",
1126
+ (Z.documentationUrl || Z.repositoryUrl || W?.email) && /* @__PURE__ */ f("div", {
1127
+ className: "mb-6 rounded-xl border border-border-default bg-bg-surface p-4",
1131
1128
  children: [/* @__PURE__ */ d("h3", {
1132
1129
  className: "font-medium text-text-primary",
1133
1130
  children: "App support"
@@ -1156,8 +1153,8 @@ var Se = (e, t) => ({
1156
1153
  ]
1157
1154
  })]
1158
1155
  }),
1159
- W && /* @__PURE__ */ f(p, {
1160
- className: "mb-6 p-4",
1156
+ W && /* @__PURE__ */ f("div", {
1157
+ className: "mb-6 rounded-xl border border-border-default bg-bg-surface p-4",
1161
1158
  children: [
1162
1159
  /* @__PURE__ */ d("h3", {
1163
1160
  className: "font-medium text-text-primary",
@@ -1190,7 +1187,7 @@ var Se = (e, t) => ({
1190
1187
  className: "space-y-3",
1191
1188
  children: q.slice(0, 4).map((e) => /* @__PURE__ */ f("button", {
1192
1189
  type: "button",
1193
- onClick: () => u(`${m}/marketplace/product/${e.id}`),
1190
+ onClick: () => u(`${p}/marketplace/product/${e.id}`),
1194
1191
  className: "flex w-full cursor-pointer items-center gap-3 rounded-lg p-2 text-left transition-colors hover:bg-bg-sunken",
1195
1192
  children: [e.icon ? /* @__PURE__ */ d("img", {
1196
1193
  src: e.icon,
@@ -1226,7 +1223,7 @@ var Se = (e, t) => ({
1226
1223
  })
1227
1224
  }),
1228
1225
  Z && /* @__PURE__ */ d(ce, {
1229
- isOpen: We,
1226
+ isOpen: Ue,
1230
1227
  onClose: () => z(!1),
1231
1228
  app: {
1232
1229
  id: Z.id,
@@ -1237,8 +1234,8 @@ var Se = (e, t) => ({
1237
1234
  version: Z.manifestVersion
1238
1235
  },
1239
1236
  purchaseState: Y && !$ ? "purchased" : "free",
1240
- onInstallSuccess: Qe,
1241
- onInstallError: $e
1237
+ onInstallSuccess: Ze,
1238
+ onInstallError: Qe
1242
1239
  })
1243
1240
  ]
1244
1241
  });